Reactions: don't add if reactions are empty
This commit is contained in:
parent
9c044c7d1d
commit
8e3f600bd1
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ fun MessagesReactionsView(
|
||||||
reactionsState: MessagesItemReactionState,
|
reactionsState: MessagesItemReactionState,
|
||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
) {
|
) {
|
||||||
|
if(reactionsState.reactions.isEmpty()) return
|
||||||
FlowRow(
|
FlowRow(
|
||||||
modifier = modifier,
|
modifier = modifier,
|
||||||
mainAxisSpacing = 2.dp,
|
mainAxisSpacing = 2.dp,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue