mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Remove useless let statement.
This commit is contained in:
+3
-5
@@ -133,11 +133,9 @@ fun MarkdownTextInput(
|
||||
update = { editText ->
|
||||
editText.contentDescription = placeholder
|
||||
editText.applyStyleInCompose(richTextEditorStyle)
|
||||
editText.onEnterKeyListener = onSendMessage?.let { send ->
|
||||
{
|
||||
send()
|
||||
true
|
||||
}
|
||||
editText.onEnterKeyListener = {
|
||||
onSendMessage()
|
||||
true
|
||||
}
|
||||
val text = state.text.value()
|
||||
mentionSpanUpdater.updateMentionSpans(text)
|
||||
|
||||
Reference in New Issue
Block a user