mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Fix MarkdownTextInputTest using the previous onSendMessage signature
This commit is contained in:
+1
-1
@@ -191,7 +191,7 @@ class MarkdownTextInputTest : RobolectricTest() {
|
||||
state: MarkdownTextEditorState = aMarkdownTextEditorState(),
|
||||
onTyping: (Boolean) -> Unit = {},
|
||||
onSuggestionReceived: (Suggestion?) -> Unit = {},
|
||||
onSendMessage: (() -> Unit)? = null,
|
||||
onSendMessage: (() -> Unit) = {},
|
||||
) {
|
||||
setContent {
|
||||
val style = ElementRichTextEditorStyle.composerStyle(hasFocus = state.hasFocus)
|
||||
|
||||
Reference in New Issue
Block a user