From 597ba72c1ef3a19e097be681abd9451432c815c6 Mon Sep 17 00:00:00 2001 From: otsmr Date: Sun, 11 May 2025 12:38:33 +0200 Subject: [PATCH] fix #157 --- lib/src/views/chats/media_viewer_view.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/src/views/chats/media_viewer_view.dart b/lib/src/views/chats/media_viewer_view.dart index b14fdc5..b759087 100644 --- a/lib/src/views/chats/media_viewer_view.dart +++ b/lib/src/views/chats/media_viewer_view.dart @@ -667,7 +667,7 @@ class _ReactionButtonsState extends State { return AnimatedPositioned( duration: Duration(milliseconds: 200), // Animation duration - bottom: widget.show ? 100 : 90, + bottom: widget.show ? 80 : 60, left: widget.show ? 0 : 150, right: widget.show ? 0 : 150, curve: Curves.linearToEaseOut, @@ -675,7 +675,9 @@ class _ReactionButtonsState extends State { opacity: widget.show ? 1.0 : 0.0, // Fade in/out duration: Duration(milliseconds: 150), child: Container( - color: Colors.transparent, + color: Colors.black.withAlpha( + 0), // so the gesture detector will be prevented to detect a click on this... + padding: EdgeInsets.symmetric(vertical: 32), child: Column( children: [ if (secondRowEmojis.isNotEmpty)