mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Disable updates badge by default
This commit is contained in:
parent
7c1e55eb7f
commit
7ce0110158
2 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ class PreferencesHelper(val context: Context) {
|
|||
|
||||
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 libraryUpdateCategories() = flowPrefs.getStringSet(Keys.libraryUpdateCategories, emptySet())
|
||||
|
|
|
@ -35,7 +35,7 @@ class SettingsGeneralController : SettingsController() {
|
|||
switchPreference {
|
||||
key = Keys.showUpdatesNavBadge
|
||||
titleRes = R.string.pref_library_update_show_tab_badge
|
||||
defaultValue = true
|
||||
defaultValue = false
|
||||
}
|
||||
switchPreference {
|
||||
key = Keys.confirmExit
|
||||
|
|
Loading…
Reference in a new issue