Reactions: don't add if reactions are empty

This commit is contained in:
ganfra 2022-11-10 09:57:39 +01:00
parent 78d60622db
commit 6cf010db44

View file

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