Skip to content

Commit

Permalink
Fixes #450
Browse files Browse the repository at this point in the history
Signed-off-by: enricocid <[email protected]>
  • Loading branch information
enricocid committed Aug 2, 2022
1 parent d1c6c1b commit ba83113
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,11 @@ class MusicContainersFragment : Fragment(),
itemsToHide.remove(itemTitle)
} else {
itemsToHide.add(itemTitle)
mList?.run {
if (itemsToHide.size - 1 >= size - 1) {
itemsToHide.remove(itemTitle)
}
}
}
actionMode?.title = itemsToHide.size.toString()
notifyItemChanged(position)
Expand Down

0 comments on commit ba83113

Please sign in to comment.