Allow center aligned side nav icons (closes #5177)

This commit is contained in:
arkon
2021-06-03 09:30:50 -04:00
parent fb7a458747
commit 6c53bb4d51
6 changed files with 23 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ object PreferenceKeys {
const val hideBottomBarOnScroll = "pref_hide_bottom_bar_on_scroll"
const val showSideNavOnBottom = "pref_show_side_nav_on_bottom"
const val sideNavIconAlignment = "pref_side_nav_icon_alignment"
const val enableTransitions = "pref_enable_transitions_key"

View File

@@ -66,7 +66,7 @@ class PreferencesHelper(val context: Context) {
fun hideBottomBarOnScroll() = flowPrefs.getBoolean(Keys.hideBottomBarOnScroll, true)
fun showSideNavOnBottom() = flowPrefs.getBoolean(Keys.showSideNavOnBottom, false)
fun sideNavIconAlignment() = flowPrefs.getInt(Keys.sideNavIconAlignment, 0)
fun useAuthenticator() = flowPrefs.getBoolean(Keys.useAuthenticator, false)