mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-07 06:08:47 -04:00
@@ -451,10 +451,11 @@ private fun TextInput(
|
||||
Spacer(Modifier.width(8.dp))
|
||||
Button(
|
||||
onClick = {
|
||||
if (message.value.text.isNotEmpty()) {
|
||||
onClick(message.value.text)
|
||||
message.value = TextFieldValue("")
|
||||
val str = message.value.text.trim()
|
||||
if (str.isNotEmpty()) {
|
||||
focusManager.clearFocus()
|
||||
onClick(str)
|
||||
message.value = TextFieldValue("")
|
||||
}
|
||||
},
|
||||
modifier = Modifier.size(48.dp),
|
||||
|
||||
Reference in New Issue
Block a user