Fixed being able to select all on a collasped category

This commit is contained in:
Jay 2020-05-08 22:49:12 -04:00
parent 5718b9e7d9
commit 6e8c285646

View File

@ -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()