mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-06-12 02:30:48 -04:00
Remove needless null check in OpenNoteAdapter
This commit is contained in:
@@ -84,7 +84,7 @@ class OpenNoteAdapter(
|
||||
ChecklistItem.sorting = sorting
|
||||
if (ChecklistItem.sorting and SORT_BY_CUSTOM == 0) {
|
||||
it.sorted().let {
|
||||
if (context.config?.moveDoneChecklistItems == true) {
|
||||
if (context.config.moveDoneChecklistItems) {
|
||||
it.sortedBy { it.isDone }
|
||||
} else {
|
||||
it
|
||||
|
||||
Reference in New Issue
Block a user