Change how the bottom navigation is hidden (#5823)
* Change how the bottom navigation is hidden Modifies the translationY instead of the height. * Cleanups
This commit is contained in:
@@ -383,7 +383,7 @@ class LibraryController(
|
||||
actionMode!!,
|
||||
R.menu.library_selection
|
||||
) { onActionItemClicked(it!!) }
|
||||
(activity as? MainActivity)?.showBottomNav(visible = false, expand = true)
|
||||
(activity as? MainActivity)?.showBottomNav(false)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -492,7 +492,7 @@ class LibraryController(
|
||||
selectionRelay.call(LibrarySelectionEvent.Cleared())
|
||||
|
||||
binding.actionToolbar.hide()
|
||||
(activity as? MainActivity)?.showBottomNav(visible = true, expand = true)
|
||||
(activity as? MainActivity)?.showBottomNav(true)
|
||||
|
||||
actionMode = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user