mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
CheckmarkDialog: Replace setText by append
Replace `etNotes.setText` by `etNotes.append` so that the cursor moves to the end of the line.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user