Default automatic legacy backups to true for now

This commit is contained in:
arkon 2020-11-21 15:12:04 -05:00
parent 858664bfd7
commit eed6db8e92
2 changed files with 2 additions and 2 deletions

View File

@ -271,7 +271,7 @@ class PreferencesHelper(val context: Context) {
fun incognitoMode() = flowPrefs.getBoolean(Keys.incognitoMode, false)
fun createLegacyBackup() = flowPrefs.getBoolean(Keys.createLegacyBackup, false)
fun createLegacyBackup() = flowPrefs.getBoolean(Keys.createLegacyBackup, true)
fun setChapterSettingsDefault(manga: Manga) {
prefs.edit {

View File

@ -147,7 +147,7 @@ class SettingsBackupController : SettingsController() {
switchPreference {
key = Keys.createLegacyBackup
titleRes = R.string.pref_backup_auto_create_legacy
defaultValue = false
defaultValue = true
preferences.backupInterval().asImmediateFlow { isVisible = it > 0 }
.launchIn(scope)