Skip to content

Commit

Permalink
feat: fix not displaying options
Browse files Browse the repository at this point in the history
  • Loading branch information
yamilmedina committed Apr 17, 2024
1 parent 00a1eec commit eb23e62
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,7 @@ fun EnabledMessageComposer(
additionalOptionStateHolder.toRichTextEditing()
},
onCloseRichEditingButtonClicked = additionalOptionStateHolder::toAttachmentAndAdditionalOptionsMenu,
onDrawingModeClicked = {
inputStateHolder.collapseComposer()
additionalOptionStateHolder.toDrawingMode()
}
onDrawingModeClicked = additionalOptionStateHolder::toDrawingMode
)
}
Box(
Expand Down Expand Up @@ -305,10 +302,7 @@ fun EnabledMessageComposer(
},
onSendSketch = {
onAttachmentPicked(UriAsset(it))
inputStateHolder.handleBackPressed(
isImeVisible,
additionalOptionStateHolder.additionalOptionsSubMenuState
)
inputStateHolder.collapseComposer(additionalOptionStateHolder.additionalOptionsSubMenuState)
},
conversationTitle = CurrentConversationDetailsCache.conversationName.asString(),
tempWritableImageUri = tempWritableImageUri
Expand Down

0 comments on commit eb23e62

Please sign in to comment.