mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
use standard IM text input convention
This commit is contained in:
parent
4b3427fe8c
commit
99dfc8014a
2 changed files with 3 additions and 6 deletions
|
|
@ -59,9 +59,6 @@ class MessagesFragment : Fragment(), Logging {
|
|||
|
||||
// Allows textMultiline with IME_ACTION_SEND
|
||||
private fun EditText.onActionSend(func: () -> Unit) {
|
||||
imeOptions = EditorInfo.IME_ACTION_SEND
|
||||
InputType.TYPE_TEXT_FLAG_MULTI_LINE
|
||||
setRawInputType(InputType.TYPE_TEXT_FLAG_CAP_SENTENCES)
|
||||
setOnEditorActionListener { _, actionId, _ ->
|
||||
|
||||
if (actionId == EditorInfo.IME_ACTION_SEND) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue