mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 14:51:48 +01:00
Fix library crash with autohide and recreation
This commit is contained in:
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…
Reference in New Issue
Block a user