Fix issue detected by detekt

This commit is contained in:
Benoit Marty
2023-08-16 15:24:18 +02:00
parent f138f7c001
commit a3ae891e51
6 changed files with 26 additions and 22 deletions
@@ -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
)
}
}