Fixed bottom sheet animations

This commit is contained in:
Prathamesh More 2021-10-25 18:08:10 +05:30
parent 72aedb7e77
commit 3bfacaea77
8 changed files with 48 additions and 39 deletions

View file

@ -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()
}