Fix issue detected by detekt

This commit is contained in:
Benoit Marty 2023-08-16 15:24:18 +02:00
parent 09b443f919
commit eb4c2fba77
6 changed files with 26 additions and 22 deletions

View file

@ -55,7 +55,7 @@ fun MessageComposerView(
state.eventSink(MessageComposerEvents.FocusChanged(hasFocus))
}
Box {
Box(modifier = modifier) {
AttachmentsBottomSheet(
state = state,
onSendLocationClicked = onSendLocationClicked,
@ -69,8 +69,7 @@ fun MessageComposerView(
onAddAttachment = ::onAddAttachment,
onFocusChanged = ::onFocusChanged,
composerCanSendMessage = state.isSendButtonVisible,
composerText = state.text,
modifier = modifier
composerText = state.text
)
}
}