fix: reaction alignment cutoff

This commit is contained in:
zlshames
2022-12-24 15:19:11 -05:00
parent 2ef9f60e08
commit 87bcad02ed

View File

@ -547,7 +547,7 @@ class _MessageHolderState extends CustomState<MessageHolder, void, MessageWidget
// show reactions on top // show reactions on top
if (message.isFromMe!) if (message.isFromMe!)
Positioned( Positioned(
top: -15, top: -14,
left: -20, left: -20,
child: ReactionHolder( child: ReactionHolder(
reactions: reactions.where((s) => (s.associatedMessagePart ?? 0) == e.part), reactions: reactions.where((s) => (s.associatedMessagePart ?? 0) == e.part),
@ -556,7 +556,7 @@ class _MessageHolderState extends CustomState<MessageHolder, void, MessageWidget
), ),
if (!message.isFromMe!) if (!message.isFromMe!)
Positioned( Positioned(
top: -15, top: -14,
right: -20, right: -20,
child: ReactionHolder( child: ReactionHolder(
reactions: reactions.where((s) => (s.associatedMessagePart ?? 0) == e.part), reactions: reactions.where((s) => (s.associatedMessagePart ?? 0) == e.part),