Fix issue detected by detekt
This commit is contained in:
parent
09b443f919
commit
eb4c2fba77
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
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue