mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-25 14:51:51 +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() {
|
fun updateFilterSheetY() {
|
||||||
val bottomBar = activity?.bottom_nav
|
val bottomBar = activity?.bottom_nav
|
||||||
|
filter_bottom_sheet ?: return
|
||||||
if (bottomBar != null) {
|
if (bottomBar != null) {
|
||||||
if (filter_bottom_sheet.sheetBehavior.isHidden()) {
|
if (filter_bottom_sheet.sheetBehavior.isHidden()) {
|
||||||
val pad = bottomBar.translationY - bottomBar.height
|
val pad = bottomBar.translationY - bottomBar.height
|
||||||
|
Loading…
Reference in New Issue
Block a user