From bac2dceae4978f94093f9a90a619dadd4fdf63da Mon Sep 17 00:00:00 2001 From: Krille Date: Thu, 21 Mar 2024 09:16:01 +0100 Subject: [PATCH] chore: Follow up image bubble performance --- lib/pages/chat/events/image_bubble.dart | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/pages/chat/events/image_bubble.dart b/lib/pages/chat/events/image_bubble.dart index 924e458fe..773cdb50c 100644 --- a/lib/pages/chat/events/image_bubble.dart +++ b/lib/pages/chat/events/image_bubble.dart @@ -40,11 +40,15 @@ class ImageBubble extends StatelessWidget { event.infoMap['xyz.amorgan.blurhash'] is String ? event.infoMap['xyz.amorgan.blurhash'] : 'LEHV6nWB2yk8pyo0adR*.7kCMdnj'; - return BlurHash( - blurhash: blurHashString, + return SizedBox( width: width, height: height, - fit: fit, + child: BlurHash( + blurhash: blurHashString, + width: width, + height: height, + fit: fit, + ), ); }