mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-01-02 12:39:39 -05:00
properly remove the checklists placeholder at adding new items
This commit is contained in:
@@ -87,7 +87,7 @@ class ChecklistFragment : NoteFragment(), ChecklistItemsListener {
|
||||
currentMaxId++
|
||||
}
|
||||
saveNote()
|
||||
if (items.size == 1) {
|
||||
if (items.size == it.size) {
|
||||
setupAdapter()
|
||||
} else {
|
||||
(view.checklist_list.adapter as? ChecklistAdapter)?.notifyDataSetChanged()
|
||||
|
||||
Reference in New Issue
Block a user