updating kotlin, commons, gradle

This commit is contained in:
tibbi
2021-09-28 23:21:15 +02:00
parent 1ed43e85e5
commit 981e7f626c
4 changed files with 6 additions and 6 deletions

View File

@ -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
titles.forEach { title ->
title.split("\n").map { it.trim() }.filter { it.isNotBlank() }.forEach { row ->