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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user