Implement feature to hide "Local" badge from library manga (#5202)

This commit is contained in:
Hunter Nickel
2021-05-26 16:10:20 -06:00
committed by GitHub
parent d9c27e7109
commit 8dcd919ff0
9 changed files with 21 additions and 4 deletions

View File

@@ -193,6 +193,8 @@ object PreferenceKeys {
const val unreadBadge = "display_unread_badge"
const val localBadge = "display_local_badge"
const val categoryTabs = "display_category_tabs"
const val categoryNumberOfItems = "display_number_of_items"

View File

@@ -238,6 +238,8 @@ class PreferencesHelper(val context: Context) {
fun downloadBadge() = flowPrefs.getBoolean(Keys.downloadBadge, false)
fun localBadge() = flowPrefs.getBoolean(Keys.localBadge, true)
fun downloadedOnly() = flowPrefs.getBoolean(Keys.downloadedOnly, false)
fun unreadBadge() = flowPrefs.getBoolean(Keys.unreadBadge, true)