From ecc0c79c70032d1b4ae99b402f16c6609d79088d Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Tue, 23 Mar 2021 13:00:54 -0400 Subject: [PATCH] Fix library crash with autohide and recreation --- .../java/eu/kanade/tachiyomi/ui/library/LibraryController.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt index ad2f8671f2..ba6258fe0d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt @@ -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