From 292c21004c6652a5f4d5911dee88407b3d316348 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Mon, 17 May 2021 17:03:57 +0200 Subject: [PATCH] fix action modal --- .../lib/src/message_actions_modal.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/stream_chat_flutter/lib/src/message_actions_modal.dart b/packages/stream_chat_flutter/lib/src/message_actions_modal.dart index 82ce94e2..f0ce9539 100644 --- a/packages/stream_chat_flutter/lib/src/message_actions_modal.dart +++ b/packages/stream_chat_flutter/lib/src/message_actions_modal.dart @@ -173,12 +173,12 @@ class _MessageActionsModalState extends State { Align( alignment: Alignment( user?.id == widget.message.user?.id - ? (divFactor > 1.0 - ? 0.0 - : (1.0 - divFactor)) - : (divFactor > 1.0 - ? 0.0 - : -(1.0 - divFactor)), + ? (divFactor >= 1.0 + ? -0.2 + : (1.2 - divFactor)) + : (divFactor >= 1.0 + ? 0.2 + : -(1.2 - divFactor)), 0), child: ReactionPicker( message: widget.message,