From 0e1ee378b7878bd0e576c85769553d8fe42f0981 Mon Sep 17 00:00:00 2001 From: Patrick Schneider Date: Tue, 22 Oct 2024 11:08:57 +0200 Subject: [PATCH] [fix] deleting checklist item did not change the note. --- .../secuso/privacyfriendlynotes/ui/adapter/ChecklistAdapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/secuso/privacyfriendlynotes/ui/adapter/ChecklistAdapter.kt b/app/src/main/java/org/secuso/privacyfriendlynotes/ui/adapter/ChecklistAdapter.kt index bacf09b..41b080a 100644 --- a/app/src/main/java/org/secuso/privacyfriendlynotes/ui/adapter/ChecklistAdapter.kt +++ b/app/src/main/java/org/secuso/privacyfriendlynotes/ui/adapter/ChecklistAdapter.kt @@ -119,6 +119,7 @@ class ChecklistAdapter( fun removeItem(position: Int) { this.items.removeAt(position) + hasChanged = true notifyItemRemoved(position) }