CheckmarkDialog: Replace setText by append

Replace `etNotes.setText` by `etNotes.append` so that the cursor moves
to the end of the line.
pull/1103/head
Alinson S. Xavier 4 years ago
parent 990c85aedd
commit 43489aeb4c
No known key found for this signature in database
GPG Key ID: DCA0DAD4D2F58624

@ -45,7 +45,7 @@ class CheckmarkDialog
): AlertDialog { ): AlertDialog {
binding = CheckmarkDialogBinding.inflate(LayoutInflater.from(context)) binding = CheckmarkDialogBinding.inflate(LayoutInflater.from(context))
fontAwesome = InterfaceUtils.getFontAwesome(context)!! fontAwesome = InterfaceUtils.getFontAwesome(context)!!
binding.etNotes.setText(notes) binding.etNotes.append(notes)
setUpButtons(value, theme.color(paletteColor).toInt()) setUpButtons(value, theme.color(paletteColor).toInt())
val dialog = AlertDialog.Builder(context) val dialog = AlertDialog.Builder(context)

Loading…
Cancel
Save