From b6de6a77f00f842d75289a0152efce82c9bbca47 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Wed, 28 Apr 2021 16:15:32 -0400 Subject: [PATCH] Fix backdrop showing for when library has one category --- .../java/eu/kanade/tachiyomi/ui/library/LibraryController.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 87a03cfb83..0ec4529fbc 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 @@ -1532,7 +1532,9 @@ class LibraryController( } searchItem.fixExpand( onExpand = { - if (!binding.recyclerCover.isClickable && query.isBlank()) { + if (!binding.recyclerCover.isClickable && query.isBlank() && + !singleCategory && presenter.showAllCategories + ) { showCategories(true) } invalidateMenuOnExpand()