Fix library crash with autohide and recreation

pull/7308/head
Jays2Kings 4 years ago
parent 7c63219801
commit ecc0c79c70

@ -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

Loading…
Cancel
Save