Moved done checklist setting to the sorting dialog (#462)

This commit is contained in:
Agnieszka C
2021-10-10 19:30:27 +02:00
parent 86b43ede04
commit 9b45cfc053
6 changed files with 35 additions and 36 deletions

View File

@ -106,9 +106,6 @@ class WidgetAdapter(val context: Context, val intent: Intent) : RemoteViewsServi
// checklist title can be null only because of the glitch in upgrade to 6.6.0, remove this check in the future
checklistItems = checklistItems.filter { it.title != null }.toMutableList() as ArrayList<ChecklistItem>
if (context.config.moveDoneChecklistItems) {
checklistItems.sortBy { it.isDone }
}
}
}