Fix backdrop showing for when library has one category

This commit is contained in:
Jays2Kings 2021-04-28 16:15:32 -04:00
parent 7f72eabfc3
commit b6de6a77f0

View File

@ -1532,7 +1532,9 @@ class LibraryController(
} }
searchItem.fixExpand( searchItem.fixExpand(
onExpand = { onExpand = {
if (!binding.recyclerCover.isClickable && query.isBlank()) { if (!binding.recyclerCover.isClickable && query.isBlank() &&
!singleCategory && presenter.showAllCategories
) {
showCategories(true) showCategories(true)
} }
invalidateMenuOnExpand() invalidateMenuOnExpand()