Fix library crash with autohide and recreation

This commit is contained in:
Jays2Kings 2021-03-23 13:00:54 -04:00
parent 7c63219801
commit ecc0c79c70

View File

@ -255,6 +255,7 @@ class LibraryController(
fun updateFilterSheetY() {
val bottomBar = activity?.bottom_nav
filter_bottom_sheet ?: return
if (bottomBar != null) {
if (filter_bottom_sheet.sheetBehavior.isHidden()) {
val pad = bottomBar.translationY - bottomBar.height