mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-21 18:48:54 +02:00
rename self hosted to SyncYomi
This commit is contained in:
@@ -46,7 +46,7 @@ object SettingsSyncScreen : SearchableSettings {
|
||||
title = stringResource(R.string.pref_sync_service),
|
||||
entries = mapOf(
|
||||
0 to stringResource(R.string.off),
|
||||
1 to stringResource(R.string.self_host),
|
||||
1 to stringResource(R.string.syncyomi),
|
||||
),
|
||||
onValueChanged = { true },
|
||||
),
|
||||
|
@@ -49,7 +49,7 @@ class SyncManager(
|
||||
|
||||
enum class SyncService(val value: Int) {
|
||||
NONE(0),
|
||||
SELF_HOSTED(1),
|
||||
SYNCYOMI(1),
|
||||
;
|
||||
|
||||
companion object {
|
||||
@@ -95,7 +95,7 @@ class SyncManager(
|
||||
|
||||
// Handle sync based on the selected service
|
||||
val syncService = when (val syncService = SyncService.fromInt(syncPreferences.syncService().get())) {
|
||||
SyncService.SELF_HOSTED -> {
|
||||
SyncService.SYNCYOMI -> {
|
||||
SyncYomiSyncService(
|
||||
context,
|
||||
json,
|
||||
|
Reference in New Issue
Block a user