mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
Remove needless null check in OpenNoteAdapter
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user