mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
Moved done checklist setting to the sorting dialog (#462)
This commit is contained in:
@ -160,6 +160,9 @@ class ChecklistFragment : NoteFragment(), ChecklistItemsListener {
|
||||
updateUIVisibility()
|
||||
ChecklistItem.sorting = requireContext().config.sorting
|
||||
items.sort()
|
||||
if (context?.config?.moveDoneChecklistItems == true) {
|
||||
items.sortBy { it.isDone }
|
||||
}
|
||||
ChecklistAdapter(
|
||||
activity = activity as SimpleActivity,
|
||||
items = items,
|
||||
|
Reference in New Issue
Block a user