Fixed being able to select all on a collasped category
This commit is contained in:
parent
5718b9e7d9
commit
6e8c285646
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue