Change BottomNavigationView behavior (#5603)
Similar to app bar's scroll behavior
This commit is contained in:
@@ -183,7 +183,7 @@ class UpdatesController :
|
||||
actionMode!!,
|
||||
R.menu.updates_chapter_selection
|
||||
) { onActionItemClicked(it!!) }
|
||||
(activity as? MainActivity)?.showBottomNav(visible = false, collapse = true)
|
||||
(activity as? MainActivity)?.showBottomNav(visible = false, expand = true)
|
||||
}
|
||||
|
||||
toggleSelection(position)
|
||||
@@ -389,7 +389,7 @@ class UpdatesController :
|
||||
adapter?.clearSelection()
|
||||
|
||||
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