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.Injekt
import uy.kohesive.injekt.api.get import uy.kohesive.injekt.api.get
object SettingsBackupScreen : SearchableSettings { object SettingsBackupAndSyncScreen : SearchableSettings {
@ReadOnlyComposable @ReadOnlyComposable
@Composable @Composable

View File

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

View File

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

View File

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