Add A-B swapping for hitomi.la search database

This commit is contained in:
NerdNumber9
2018-04-14 23:23:55 -04:00
parent 4bd965a795
commit 7aa8abdd98
4 changed files with 102 additions and 59 deletions

View File

@@ -159,5 +159,7 @@ object PreferenceKeys {
const val eh_hl_lastRefresh = "eh_lh_last_refresh"
const val eh_hl_lastRealmIndex = "eh_hl_lastRealmIndex"
const val eh_expandFilters = "eh_expand_filters"
}

View File

@@ -229,6 +229,8 @@ class PreferencesHelper(val context: Context) {
fun eh_hl_refreshFrequency() = rxPrefs.getString(Keys.eh_hl_refreshFrequency, "24")
fun eh_hl_lastRefresh() = rxPrefs.getLong(Keys.eh_hl_lastRefresh, 0L)
fun eh_hl_lastRealmIndex() = rxPrefs.getInteger(Keys.eh_hl_lastRealmIndex, -1)
// <-- EH
fun eh_expandFilters() = rxPrefs.getBoolean(Keys.eh_expandFilters, false)