From 6e8c28564638f5bf24b38d569234a950050a5eaa Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 8 May 2020 22:49:12 -0400 Subject: [PATCH] Fixed being able to select all on a collasped category --- .../java/eu/kanade/tachiyomi/ui/library/LibraryHeaderItem.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHeaderItem.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHeaderItem.kt index e50f11481b..47b58f3f3a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHeaderItem.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHeaderItem.kt @@ -164,8 +164,8 @@ class LibraryHeaderItem( else R.drawable.ic_expand_less_24dp) when { adapter.mode == SelectableAdapter.Mode.MULTI -> { - checkboxImage.visible() - expandImage.invisible() + checkboxImage.visibleIf(!category.isHidden) + expandImage.visibleIf(category.isHidden && !adapter.isSingleCategory) updateButton.gone() catProgress.gone() setSelection()