mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-17 22:47:29 +01:00
Add hitomi.la preferences screen
Add hitomi.la early refresh Fix some typos in comments
This commit is contained in:
@@ -155,6 +155,8 @@ object PreferenceKeys {
|
||||
|
||||
const val eh_showSettingsUploadWarning = "eh_showSettingsUploadWarning1"
|
||||
|
||||
const val eh_hl_earlyRefresh = "eh_lh_early_refresh"
|
||||
|
||||
const val eh_hl_refreshFrequency = "eh_lh_refresh_frequency"
|
||||
|
||||
const val eh_hl_lastRefresh = "eh_lh_last_refresh"
|
||||
|
||||
@@ -226,6 +226,8 @@ class PreferencesHelper(val context: Context) {
|
||||
fun eh_showSettingsUploadWarning() = rxPrefs.getBoolean(Keys.eh_showSettingsUploadWarning, true)
|
||||
|
||||
// Default is 24h, refresh daily
|
||||
fun eh_hl_earlyRefresh() = rxPrefs.getBoolean(Keys.eh_hl_earlyRefresh, false)
|
||||
|
||||
fun eh_hl_refreshFrequency() = rxPrefs.getString(Keys.eh_hl_refreshFrequency, "24")
|
||||
|
||||
fun eh_hl_lastRefresh() = rxPrefs.getLong(Keys.eh_hl_lastRefresh, 0L)
|
||||
|
||||
Reference in New Issue
Block a user