Add aggressive page loading

This commit is contained in:
NerdNumber9
2019-04-19 03:02:30 -04:00
parent ea7ff432b2
commit 2a60c828d7
4 changed files with 24 additions and 2 deletions

View File

@@ -192,4 +192,6 @@ object PreferenceKeys {
const val eh_autoUpdateRestrictions = "eh_auto_update_restrictions"
const val eh_autoUpdateStats = "eh_auto_update_stats"
const val eh_aggressivePageLoading = "eh_aggressive_page_loading"
}

View File

@@ -265,4 +265,6 @@ class PreferencesHelper(val context: Context) {
fun eh_autoUpdateRequirements() = prefs.getStringSet(Keys.eh_autoUpdateRestrictions, emptySet())
fun eh_autoUpdateStats() = rxPrefs.getString(Keys.eh_autoUpdateStats, "")
fun eh_aggressivePageLoading() = rxPrefs.getBoolean(Keys.eh_aggressivePageLoading, false)
}