Option to move nav rail buttons to bottom of screen (closes #5158)

Based on https://github.com/Jays2Kings/tachiyomiJ2K/commit/90be3e34948d41daf3fd695ef09d60eb6adf960e

Co-authored-by: Jays2Kings <Jays2Kings@users.noreply.github.com>
This commit is contained in:
arkon
2021-05-23 14:27:44 -04:00
parent 065cf42aea
commit a462ce3626
5 changed files with 26 additions and 6 deletions
@@ -46,9 +46,15 @@ class SettingsGeneralController : SettingsController() {
titleRes = R.string.pref_confirm_exit
defaultValue = false
}
if (!context.isTablet()) {
if (context.isTablet()) {
switchPreference {
key = Keys.hideBottomBar
key = Keys.showSideNavOnBottom
titleRes = R.string.pref_move_side_nav_to_bottom
defaultValue = false
}
} else {
switchPreference {
key = Keys.hideBottomBarOnScroll
titleRes = R.string.pref_hide_bottom_bar_on_scroll
defaultValue = true
}