mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-22 19:40:07 +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
|
ChecklistItem.sorting = sorting
|
||||||
if (ChecklistItem.sorting and SORT_BY_CUSTOM == 0) {
|
if (ChecklistItem.sorting and SORT_BY_CUSTOM == 0) {
|
||||||
it.sorted().let {
|
it.sorted().let {
|
||||||
if (context.config?.moveDoneChecklistItems == true) {
|
if (context.config.moveDoneChecklistItems) {
|
||||||
it.sortedBy { it.isDone }
|
it.sortedBy { it.isDone }
|
||||||
} else {
|
} else {
|
||||||
it
|
it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user