mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-04-14 15:32:27 +02:00
refresh the checklist if the first item is added
This commit is contained in:
parent
334056852a
commit
37eb009349
@ -83,6 +83,9 @@ class ChecklistFragment : NoteFragment(), ChecklistItemsListener {
|
||||
val checklistItem = ChecklistItem(currentMaxId + 1, it, false)
|
||||
items.add(checklistItem)
|
||||
saveNote()
|
||||
if (items.size == 1) {
|
||||
setupAdapter()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user