Reactions: don't add if reactions are empty

This commit is contained in:
ganfra
2022-11-10 09:57:39 +01:00
parent 9c044c7d1d
commit 8e3f600bd1

View File

@@ -24,6 +24,7 @@ fun MessagesReactionsView(
reactionsState: MessagesItemReactionState,
modifier: Modifier = Modifier,
) {
if(reactionsState.reactions.isEmpty()) return
FlowRow(
modifier = modifier,
mainAxisSpacing = 2.dp,