Skip to content

Commit 062f3ff

Browse files
committed
fixing a warning
1 parent 79fd588 commit 062f3ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/notes/pro/adapters/ChecklistAdapter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ class ChecklistAdapter(
140140
}
141141
}
142142

143+
items.removeAll(removeItems.toSet())
143144
positions.sortDescending()
144145
removeSelectedItems(positions)
145146

146-
items.removeAll(removeItems)
147147
listener?.saveChecklist()
148148
if (items.isEmpty()) {
149149
listener?.refreshItems()

0 commit comments

Comments
 (0)