rename SettingsBackupScreen

This commit is contained in:
Aria Moradi 2023-07-07 23:25:50 +03:30
parent a1e9d34bb8
commit 425260b679
4 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,7 @@ import tachiyomi.presentation.core.util.isScrolledToStart
import uy.kohesive.injekt.Injekt
import uy.kohesive.injekt.api.get
object SettingsBackupScreen : SearchableSettings {
object SettingsBackupAndSyncScreen : SearchableSettings {
@ReadOnlyComposable
@Composable

View File

@ -226,7 +226,7 @@ object SettingsMainScreen : Screen() {
titleRes = R.string.label_backup_and_sync,
subtitleRes = R.string.pref_backup_and_sync_summary,
icon = Icons.Outlined.SettingsBackupRestore,
screen = SettingsBackupScreen,
screen = SettingsBackupAndSyncScreen,
),
Item(
titleRes = R.string.pref_category_security,

View File

@ -290,7 +290,7 @@ private val settingScreens = listOf(
SettingsDownloadScreen,
SettingsTrackingScreen,
SettingsBrowseScreen,
SettingsBackupScreen,
SettingsBackupAndSyncScreen,
SettingsSecurityScreen,
SettingsAdvancedScreen,
)

View File

@ -14,7 +14,7 @@ import cafe.adriel.voyager.navigator.Navigator
import cafe.adriel.voyager.navigator.currentOrThrow
import eu.kanade.presentation.more.settings.screen.AboutScreen
import eu.kanade.presentation.more.settings.screen.SettingsAppearanceScreen
import eu.kanade.presentation.more.settings.screen.SettingsBackupScreen
import eu.kanade.presentation.more.settings.screen.SettingsBackupAndSyncScreen
import eu.kanade.presentation.more.settings.screen.SettingsMainScreen
import eu.kanade.presentation.util.DefaultNavigatorScreenTransition
import eu.kanade.presentation.util.LocalBackPress
@ -33,7 +33,7 @@ class SettingsScreen private constructor(
if (!isTabletUi()) {
Navigator(
screen = if (toBackup) {
SettingsBackupScreen
SettingsBackupAndSyncScreen
} else if (toAbout) {
AboutScreen
} else {
@ -55,7 +55,7 @@ class SettingsScreen private constructor(
} else {
Navigator(
screen = if (toBackup) {
SettingsBackupScreen
SettingsBackupAndSyncScreen
} else if (toAbout) {
AboutScreen
} else {