mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
Merge branch 'master' into add-checklist-top
This commit is contained in:
@ -135,7 +135,7 @@ class ChecklistFragment : NoteFragment(), ChecklistItemsListener {
|
||||
|
||||
private fun showNewItemDialog() {
|
||||
NewChecklistItemDialog(activity as SimpleActivity) { titles ->
|
||||
var currentMaxId = items.maxBy { item -> item.id }?.id ?: 0
|
||||
var currentMaxId = items.maxByOrNull { item -> item.id }?.id ?: 0
|
||||
val newItems = ArrayList<ChecklistItem>()
|
||||
|
||||
titles.forEach { title ->
|
||||
|
Reference in New Issue
Block a user