mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 12:08:56 +01:00
Cleanup hide updates/history button settings
This commit is contained in:
@@ -15,9 +15,8 @@ object PreferenceKeys {
|
||||
|
||||
const val hideBottomBar = "pref_hide_bottom_bar_on_scroll"
|
||||
|
||||
const val hideUpdatesButton = "pref_hide_updates_button"
|
||||
|
||||
const val hideHistoryButton = "pref_hide_history_button"
|
||||
const val showNavUpdates = "pref_nav_show_updates"
|
||||
const val showNavHistory = "pref_nav_show_history"
|
||||
|
||||
const val enableTransitions = "pref_enable_transitions_key"
|
||||
|
||||
|
||||
@@ -65,9 +65,8 @@ class PreferencesHelper(val context: Context) {
|
||||
|
||||
fun hideBottomBar() = flowPrefs.getBoolean(Keys.hideBottomBar, true)
|
||||
|
||||
fun hideUpdatesButton() = flowPrefs.getBoolean(Keys.hideUpdatesButton, true)
|
||||
|
||||
fun hideHistoryButton() = flowPrefs.getBoolean(Keys.hideHistoryButton, true)
|
||||
fun showNavUpdates() = prefs.getBoolean(Keys.showNavUpdates, true)
|
||||
fun showNavHistory() = prefs.getBoolean(Keys.showNavHistory, true)
|
||||
|
||||
fun useBiometricLock() = flowPrefs.getBoolean(Keys.useBiometricLock, false)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user