mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
show proper checklist items at the widget config screen
This commit is contained in:
@ -96,7 +96,7 @@ class ChecklistFragment : NoteFragment(), ChecklistItemsListener {
|
||||
checklist_list.beVisibleIf(items.isNotEmpty())
|
||||
}
|
||||
|
||||
ChecklistAdapter(activity as SimpleActivity, items, this, view.checklist_list) {
|
||||
ChecklistAdapter(activity as SimpleActivity, items, this, view.checklist_list, true) {
|
||||
val clickedNote = it as ChecklistItem
|
||||
clickedNote.isDone = !clickedNote.isDone
|
||||
saveNote(items.indexOfFirst { it.id == clickedNote.id })
|
||||
|
Reference in New Issue
Block a user