fixing a warning

This commit is contained in:
tibbi 2022-12-25 11:35:09 +01:00
parent 79fd5882c1
commit 062f3ff41b

View File

@ -140,10 +140,10 @@ class ChecklistAdapter(
} }
} }
items.removeAll(removeItems.toSet())
positions.sortDescending() positions.sortDescending()
removeSelectedItems(positions) removeSelectedItems(positions)
items.removeAll(removeItems)
listener?.saveChecklist() listener?.saveChecklist()
if (items.isEmpty()) { if (items.isEmpty()) {
listener?.refreshItems() listener?.refreshItems()