fix labels

This commit is contained in:
Aria Moradi 2023-07-11 13:41:11 +03:30
parent 425260b679
commit 5e02edae53

View File

@ -71,7 +71,7 @@ object SettingsBackupAndSyncScreen : SearchableSettings {
@ReadOnlyComposable @ReadOnlyComposable
@Composable @Composable
@StringRes @StringRes
override fun getTitleRes() = R.string.label_backup override fun getTitleRes() = R.string.label_backup_and_sync
@Composable @Composable
override fun getPreferences(): List<Preference> { override fun getPreferences(): List<Preference> {
@ -86,7 +86,7 @@ object SettingsBackupAndSyncScreen : SearchableSettings {
getAutomaticBackupGroup(backupPreferences = backupPreferences), getAutomaticBackupGroup(backupPreferences = backupPreferences),
) + listOf( ) + listOf(
Preference.PreferenceGroup( Preference.PreferenceGroup(
title = stringResource(R.string.pref_backup_manual_category), title = stringResource(R.string.label_sync),
preferenceItems = listOf( preferenceItems = listOf(
Preference.PreferenceItem.ListPreference( Preference.PreferenceItem.ListPreference(
pref = syncPreferences.syncService(), pref = syncPreferences.syncService(),