mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 08:49:18 +01:00
Default automatic legacy backups to true for now
This commit is contained in:
parent
858664bfd7
commit
eed6db8e92
@ -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 {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user