mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-17 14:37:29 +01:00
Attempt to add hitomi.la source (still broken) and code cleanup
This commit is contained in:
@@ -144,4 +144,8 @@ object PreferenceKeys {
|
||||
const val eh_ts_aspNetCookie = "eh_ts_aspNetCookie"
|
||||
|
||||
const val eh_showSettingsUploadWarning = "eh_showSettingsUploadWarning1"
|
||||
|
||||
const val eh_hl_refreshFrequency = "eh_nh_refresh_frequency"
|
||||
|
||||
const val eh_hl_lastRefresh = "eh_nh_last_refresh"
|
||||
}
|
||||
|
||||
@@ -222,5 +222,10 @@ class PreferencesHelper(val context: Context) {
|
||||
fun eh_ts_aspNetCookie() = rxPrefs.getString(Keys.eh_ts_aspNetCookie, "")
|
||||
|
||||
fun eh_showSettingsUploadWarning() = rxPrefs.getBoolean(Keys.eh_showSettingsUploadWarning, true)
|
||||
|
||||
// Default is 24h, refresh daily
|
||||
fun eh_hl_refreshFrequency() = rxPrefs.getString(Keys.eh_hl_refreshFrequency, "24")
|
||||
|
||||
fun eh_hl_lastRefresh() = rxPrefs.getLong(Keys.eh_hl_lastRefresh, 0L)
|
||||
// <-- EH
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user