Skip to content

Commit

Permalink
[fix] deleting checklist item did not change the note.
Browse files Browse the repository at this point in the history
  • Loading branch information
coderPaddyS committed Oct 22, 2024
1 parent 9117e00 commit 0e1ee37
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class ChecklistAdapter(

fun removeItem(position: Int) {
this.items.removeAt(position)
hasChanged = true
notifyItemRemoved(position)
}

Expand Down

0 comments on commit 0e1ee37

Please sign in to comment.