Add setting to hide manga content from update/download notifications

(cherry picked from commit f3d69599aa09917b2261207f1d0b3ab25412d86b)
This commit is contained in:
jobobby04 2020-04-04 18:22:58 -04:00 committed by Jobobby04
parent f2ed26479f
commit 09dcb8029c
2 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,8 @@ class PreferencesHelper(val context: Context) {
fun hideNotificationContent() = prefs.getBoolean(Keys.hideNotificationContent, false)
fun hideNotificationContent() = prefs.getBoolean(Keys.hideNotificationContent, false)
fun clear() = prefs.edit().clear().apply()
fun themeMode() = flowPrefs.getString(Keys.themeMode, Values.THEME_MODE_SYSTEM)

View File

@ -148,6 +148,7 @@
<string name="pref_date_format">Date format</string>
<string name="pref_confirm_exit">Confirm exit</string>
<string name="pref_manage_notifications">Manage notifications</string>
<string name="hide_notification_content">Hide notification content</string>
<string name="pref_category_security">Security</string>
<string name="lock_with_biometrics">Lock with biometrics</string>