More fixes to auto hide bottom nav

This commit is contained in:
Jays2Kings 2021-03-21 22:28:52 -04:00
parent 4ccd051cd5
commit e0247e869b
2 changed files with 4 additions and 0 deletions

View File

@ -715,6 +715,7 @@ class LibraryController(
recycler_cover.isFocusable = false recycler_cover.isFocusable = false
showDropdown() showDropdown()
} else { } else {
updateFilterSheetY()
closeTip() closeTip()
if (filter_bottom_sheet.sheetBehavior.isHidden()) { if (filter_bottom_sheet.sheetBehavior.isHidden()) {
filter_bottom_sheet.invisible() filter_bottom_sheet.invisible()

View File

@ -264,6 +264,9 @@ class SourceController :
ext_bottom_sheet.updateExtTitle() ext_bottom_sheet.updateExtTitle()
ext_bottom_sheet.presenter.refreshExtensions() ext_bottom_sheet.presenter.refreshExtensions()
} }
if (!type.isEnter) {
setBottomPadding()
}
} }
override fun onActivityResumed(activity: Activity) { override fun onActivityResumed(activity: Activity) {