mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 12:08:56 +01:00
Add ability to hide transition page between chapters
This commit is contained in:
@@ -178,4 +178,6 @@ object PreferenceKeys {
|
||||
const val eh_autoSolveCaptchas = "eh_autosolve_captchas"
|
||||
|
||||
const val eh_delegateSources = "eh_delegate_sources"
|
||||
|
||||
const val eh_showTransitionPages = "eh_show_transition_pages"
|
||||
}
|
||||
|
||||
@@ -251,4 +251,6 @@ class PreferencesHelper(val context: Context) {
|
||||
fun eh_lastVersionCode() = rxPrefs.getInteger("eh_last_version_code", 0)
|
||||
|
||||
fun eh_savedSearches() = rxPrefs.getStringSet("eh_saved_searches", emptySet())
|
||||
|
||||
fun eh_showTransitionPages() = rxPrefs.getBoolean(Keys.eh_showTransitionPages, true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user