Change BottomNavigationView behavior (#5603)
Similar to app bar's scroll behavior
This commit is contained in:
@@ -377,7 +377,7 @@ class LibraryController(
|
||||
actionMode!!,
|
||||
R.menu.library_selection
|
||||
) { onActionItemClicked(it!!) }
|
||||
(activity as? MainActivity)?.showBottomNav(visible = false, collapse = true)
|
||||
(activity as? MainActivity)?.showBottomNav(visible = false, expand = true)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -486,7 +486,7 @@ class LibraryController(
|
||||
selectionRelay.call(LibrarySelectionEvent.Cleared())
|
||||
|
||||
binding.actionToolbar.hide()
|
||||
(activity as? MainActivity)?.showBottomNav(visible = true, collapse = true)
|
||||
(activity as? MainActivity)?.showBottomNav(visible = true, expand = true)
|
||||
|
||||
actionMode = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user