From 8260480d900585ecea23831ad16f5880dbd7fde8 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sun, 5 May 2024 09:28:57 +0200 Subject: [PATCH] fix: mxc reactions not rendered correctly --- lib/pages/chat/events/message_reactions.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pages/chat/events/message_reactions.dart b/lib/pages/chat/events/message_reactions.dart index f3f4c098..c786af59 100644 --- a/lib/pages/chat/events/message_reactions.dart +++ b/lib/pages/chat/events/message_reactions.dart @@ -112,7 +112,6 @@ class _Reaction extends StatelessWidget { ? Colors.white : Colors.black; final color = Theme.of(context).colorScheme.background; - final fontSize = DefaultTextStyle.of(context).style.fontSize; Widget content; if (reactionKey.startsWith('mxc://')) { content = Row( @@ -120,8 +119,9 @@ class _Reaction extends StatelessWidget { children: [ MxcImage( uri: Uri.parse(reactionKey), - width: 9999, - height: fontSize, + width: 20, + height: 20, + animated: false, ), if (count > 1) ...[ const SizedBox(width: 4),