Use receiver.

This commit is contained in:
Benoit Marty 2024-06-18 15:54:45 +02:00
parent 47856c22ce
commit cd9f3ad3fb
3 changed files with 3 additions and 3 deletions

View file

@ -183,7 +183,7 @@ class MarkdownTextInputTest {
onTyping: (Boolean) -> Unit = {},
onSuggestionReceived: (Suggestion?) -> Unit = {},
) {
rule.setContent {
setContent {
val style = ElementRichTextEditorStyle.composerStyle(hasFocus = state.hasFocus)
MarkdownTextInput(
state = state,