Fixed bottom sheet animations
This commit is contained in:
parent
72aedb7e77
commit
3bfacaea77
8 changed files with 48 additions and 39 deletions
|
@ -44,7 +44,7 @@ object NavigationUtil {
|
|||
if (activity !is MainActivity) return
|
||||
activity.apply {
|
||||
//Hide Bottom Bar First, else Bottom Sheet doesn't collapse fully
|
||||
setBottomBarVisibility(false)
|
||||
setBottomNavVisibility(false)
|
||||
if (getBottomSheetBehavior().state == BottomSheetBehavior.STATE_EXPANDED) {
|
||||
collapsePanel()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue