allow creating notes of a new type, Checklist

This commit is contained in:
tibbi
2018-12-07 21:55:21 +01:00
parent d9993f46cf
commit 2d36835ebb
3 changed files with 18 additions and 4 deletions

View File

@ -312,8 +312,8 @@ class MainActivity : SimpleActivity() {
private fun displayNewNoteDialog(value: String = "") {
NewNoteDialog(this) {
val newNote = Note(null, it, value, TYPE_NOTE)
addNewNote(newNote)
it.value = value
addNewNote(it)
}
}