mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Reactions: don't add if reactions are empty
This commit is contained in:
+1
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user