Fix dark theme issue.

to merge with fix dark theme issue
This commit is contained in:
Benoit Marty 2023-01-18 15:41:29 +01:00 committed by Benoit Marty
parent 08bf9aa6f7
commit f3217d90aa
2 changed files with 4 additions and 2 deletions

View file

@ -18,6 +18,7 @@ package io.element.android.x.features.messages.textcomposer
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import io.element.android.x.designsystem.LocalIsDarkTheme
import io.element.android.x.textcomposer.TextComposer
@Composable
@ -50,6 +51,7 @@ fun MessageComposerView(
onComposerTextChange = ::onComposerTextChange,
composerCanSendMessage = state.isSendButtonVisible,
composerText = state.text?.charSequence?.toString(),
isInDarkMode = LocalIsDarkTheme.current,
modifier = modifier
)
}