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