From b8d8cf19d903948bcc5baf91d00a42b8bd904693 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 9 Oct 2021 16:48:20 -0400 Subject: [PATCH] Add some info about automatic backups --- .../eu/kanade/tachiyomi/ui/setting/SettingsBackupController.kt | 3 +++ app/src/main/res/values/strings.xml | 1 + 2 files changed, 4 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsBackupController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsBackupController.kt index e435e5ac0..2821e10b6 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsBackupController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsBackupController.kt @@ -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?) { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e260ecbf8..a87e21be9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -449,6 +449,7 @@ Restoring backup Restoring backup failed Canceled restore + Automatic backups are highly recommended. You should keep copies in other places as well. Network