mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +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(),
|
state: MarkdownTextEditorState = aMarkdownTextEditorState(),
|
||||||
onTyping: (Boolean) -> Unit = {},
|
onTyping: (Boolean) -> Unit = {},
|
||||||
onSuggestionReceived: (Suggestion?) -> Unit = {},
|
onSuggestionReceived: (Suggestion?) -> Unit = {},
|
||||||
onSendMessage: (() -> Unit)? = null,
|
onSendMessage: (() -> Unit) = {},
|
||||||
) {
|
) {
|
||||||
setContent {
|
setContent {
|
||||||
val style = ElementRichTextEditorStyle.composerStyle(hasFocus = state.hasFocus)
|
val style = ElementRichTextEditorStyle.composerStyle(hasFocus = state.hasFocus)
|
||||||
|
|||||||
Reference in New Issue
Block a user