Fixes layout of the reply row in chats.

This commit is contained in:
Vitor Pamplona
2024-03-29 17:41:13 -04:00
parent d079d511e8
commit 5fbd6c25d0
@@ -493,24 +493,26 @@ private fun RenderDraftEvent(
nav: (String) -> Unit, nav: (String) -> Unit,
) { ) {
ObserveDraftEvent(note, accountViewModel) { ObserveDraftEvent(note, accountViewModel) {
RenderReplyRow( Column {
note = it, RenderReplyRow(
innerQuote = innerQuote, note = it,
backgroundBubbleColor = backgroundBubbleColor, innerQuote = innerQuote,
accountViewModel = accountViewModel, backgroundBubbleColor = backgroundBubbleColor,
nav = nav, accountViewModel = accountViewModel,
onWantsToReply = onWantsToReply, nav = nav,
) onWantsToReply = onWantsToReply,
)
NoteRow( NoteRow(
note = it, note = it,
canPreview = canPreview, canPreview = canPreview,
innerQuote = innerQuote, innerQuote = innerQuote,
onWantsToReply = onWantsToReply, onWantsToReply = onWantsToReply,
backgroundBubbleColor = backgroundBubbleColor, backgroundBubbleColor = backgroundBubbleColor,
accountViewModel = accountViewModel, accountViewModel = accountViewModel,
nav = nav, nav = nav,
) )
}
} }
} }