Option to hide unread badges (closes #3095)

This commit is contained in:
arkon
2020-05-08 23:01:16 -04:00
parent 521ebf0678
commit 1442e2b53e
8 changed files with 39 additions and 23 deletions

View File

@@ -141,6 +141,8 @@ object PreferenceKeys {
const val downloadBadge = "display_download_badge"
const val unreadBadge = "display_unread_badge"
const val alwaysShowChapterTransition = "always_show_chapter_transition"
const val searchPinnedSourcesOnly = "search_pinned_sources_only"

View File

@@ -205,6 +205,8 @@ class PreferencesHelper(val context: Context) {
fun downloadedOnly() = flowPrefs.getBoolean(Keys.downloadedOnly, false)
fun unreadBadge() = flowPrefs.getBoolean(Keys.unreadBadge, false)
fun filterDownloaded() = flowPrefs.getBoolean(Keys.filterDownloaded, false)
fun filterUnread() = flowPrefs.getBoolean(Keys.filterUnread, false)