Fixes layout of the reply row in chats.
This commit is contained in:
@@ -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,
|
||||||
)
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user