mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-20 02:20:06 +01:00
Remove needless null check in OpenNoteAdapter
This commit is contained in:
parent
68991ce1cd
commit
48d0919245
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user