Disable updates badge by default
(cherry picked from commit 7ce0110158d1d6cd05060974395f6d34c0e54b41)
This commit is contained in:
parent
2e4120d436
commit
683c9a9c69
@ -242,7 +242,7 @@ class PreferencesHelper(val context: Context) {
|
|||||||
|
|
||||||
fun libraryUpdateRestriction() = flowPrefs.getStringSet(Keys.libraryUpdateRestriction, setOf(ONLY_ON_WIFI))
|
fun libraryUpdateRestriction() = flowPrefs.getStringSet(Keys.libraryUpdateRestriction, setOf(ONLY_ON_WIFI))
|
||||||
|
|
||||||
fun showUpdatesNavBadge() = flowPrefs.getBoolean(Keys.showUpdatesNavBadge, true)
|
fun showUpdatesNavBadge() = flowPrefs.getBoolean(Keys.showUpdatesNavBadge, false)
|
||||||
fun unreadUpdatesCount() = flowPrefs.getInt("library_unread_updates_count", 0)
|
fun unreadUpdatesCount() = flowPrefs.getInt("library_unread_updates_count", 0)
|
||||||
|
|
||||||
fun libraryUpdateCategories() = flowPrefs.getStringSet(Keys.libraryUpdateCategories, emptySet())
|
fun libraryUpdateCategories() = flowPrefs.getStringSet(Keys.libraryUpdateCategories, emptySet())
|
||||||
|
@ -37,7 +37,7 @@ class SettingsGeneralController : SettingsController() {
|
|||||||
switchPreference {
|
switchPreference {
|
||||||
key = Keys.showUpdatesNavBadge
|
key = Keys.showUpdatesNavBadge
|
||||||
titleRes = R.string.pref_library_update_show_tab_badge
|
titleRes = R.string.pref_library_update_show_tab_badge
|
||||||
defaultValue = true
|
defaultValue = false
|
||||||
}
|
}
|
||||||
switchPreference {
|
switchPreference {
|
||||||
key = Keys.confirmExit
|
key = Keys.confirmExit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user