[MessageReactionsModal] Fix reaction bubble alignment
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -227,16 +227,19 @@ class MessageReactionsModal extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
child: Align(
|
child: Align(
|
||||||
alignment: Alignment.centerLeft,
|
alignment: reverse
|
||||||
|
? Alignment.centerRight
|
||||||
|
: Alignment.centerLeft,
|
||||||
child: ReactionBubble(
|
child: ReactionBubble(
|
||||||
reactions: [reaction],
|
reactions: [reaction],
|
||||||
|
flipTail: !reverse,
|
||||||
borderColor: messageTheme.reactionsBorderColor,
|
borderColor: messageTheme.reactionsBorderColor,
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
messageTheme.reactionsBackgroundColor,
|
messageTheme.reactionsBackgroundColor,
|
||||||
highlightOwnReactions: false,
|
highlightOwnReactions: false,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
bottom: 4,
|
bottom: 6,
|
||||||
left: isCurrentUser ? 0 : null,
|
left: isCurrentUser ? 0 : null,
|
||||||
right: isCurrentUser ? 0 : null,
|
right: isCurrentUser ? 0 : null,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user