Add some info about automatic backups

This commit is contained in:
arkon 2021-10-09 16:48:20 -04:00
parent c9be4093e7
commit b8d8cf19d9
2 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,7 @@ import eu.kanade.tachiyomi.ui.base.controller.DialogController
import eu.kanade.tachiyomi.ui.base.controller.requestPermissionsSafe
import eu.kanade.tachiyomi.util.preference.defaultValue
import eu.kanade.tachiyomi.util.preference.entriesRes
import eu.kanade.tachiyomi.util.preference.infoPreference
import eu.kanade.tachiyomi.util.preference.intListPreference
import eu.kanade.tachiyomi.util.preference.onChange
import eu.kanade.tachiyomi.util.preference.onClick
@ -159,6 +160,8 @@ class SettingsBackupController : SettingsController() {
.launchIn(viewScope)
}
}
infoPreference(R.string.backup_info)
}
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {

View File

@ -449,6 +449,7 @@
<string name="restoring_backup">Restoring backup</string>
<string name="restoring_backup_error">Restoring backup failed</string>
<string name="restoring_backup_canceled">Canceled restore</string>
<string name="backup_info">Automatic backups are highly recommended. You should keep copies in other places as well.</string>
<!-- Advanced section -->
<string name="label_network">Network</string>