mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fix library crash with autohide and recreation
This commit is contained in:
parent
7c63219801
commit
ecc0c79c70
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue