Add source pinning (closes #2322)

This commit is contained in:
arkon
2020-04-10 18:38:24 -04:00
parent a1df78517f
commit 8fe79a1fb5
5 changed files with 46 additions and 26 deletions

View File

@@ -198,6 +198,8 @@ class PreferencesHelper(val context: Context) {
fun hiddenCatalogues() = rxPrefs.getStringSet("hidden_catalogues", emptySet())
fun pinnedCatalogues() = rxPrefs.getStringSet("pinned_catalogues", emptySet())
fun downloadNew() = rxPrefs.getBoolean(Keys.downloadNew, false)
fun downloadNewCategories() = rxPrefs.getStringSet(Keys.downloadNewCategories, emptySet())