From 7d4f25b3547d2670263fff7a63cd98b1b8b18c47 Mon Sep 17 00:00:00 2001 From: arkon Date: Wed, 26 Feb 2020 18:58:13 -0500 Subject: [PATCH] Add description for secure screen setting --- .../eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt | 2 ++ app/src/main/res/layout-land/reader_color_filter_sheet.xml | 1 + app/src/main/res/layout/reader_color_filter_sheet.xml | 1 + app/src/main/res/values/strings.xml | 1 + 4 files changed, 5 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt index 5e95643829..1c5f7a8be6 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt @@ -17,6 +17,7 @@ import eu.kanade.tachiyomi.util.preference.onChange import eu.kanade.tachiyomi.util.preference.onClick import eu.kanade.tachiyomi.util.preference.preference import eu.kanade.tachiyomi.util.preference.preferenceCategory +import eu.kanade.tachiyomi.util.preference.summaryRes import eu.kanade.tachiyomi.util.preference.switchPreference import eu.kanade.tachiyomi.util.preference.titleRes import eu.kanade.tachiyomi.util.system.LocaleHelper @@ -171,6 +172,7 @@ class SettingsGeneralController : SettingsController() { switchPreference { key = Keys.secureScreen titleRes = R.string.secure_screen + summaryRes = R.string.secure_screen_summary defaultValue = false } } diff --git a/app/src/main/res/layout-land/reader_color_filter_sheet.xml b/app/src/main/res/layout-land/reader_color_filter_sheet.xml index 5ebf3cf8ba..5b68f79d44 100644 --- a/app/src/main/res/layout-land/reader_color_filter_sheet.xml +++ b/app/src/main/res/layout-land/reader_color_filter_sheet.xml @@ -33,6 +33,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:visibility="gone" /> + + After %1$s minutes Secure screen + Hide app contents when switching apps and block screenshots Display