From db8e4c29166f8e4f69434ac37ac972ca9b6bc850 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sun, 25 Feb 2024 19:57:59 +0100 Subject: [PATCH] chore: Follow up stickers --- lib/pages/chat/events/image_bubble.dart | 5 ----- lib/widgets/mxc_image.dart | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/pages/chat/events/image_bubble.dart b/lib/pages/chat/events/image_bubble.dart index 71b03b6e..5dc4f287 100644 --- a/lib/pages/chat/events/image_bubble.dart +++ b/lib/pages/chat/events/image_bubble.dart @@ -36,11 +36,6 @@ class ImageBubble extends StatelessWidget { }); Widget _buildPlaceholder(BuildContext context) { - if (event.messageType == MessageTypes.Sticker) { - return const Center( - child: CircularProgressIndicator.adaptive(), - ); - } final String blurHashString = event.infoMap['xyz.amorgan.blurhash'] is String ? event.infoMap['xyz.amorgan.blurhash'] diff --git a/lib/widgets/mxc_image.dart b/lib/widgets/mxc_image.dart index 0aedd1e4..630dd683 100644 --- a/lib/widgets/mxc_image.dart +++ b/lib/widgets/mxc_image.dart @@ -150,7 +150,7 @@ class _MxcImageState extends State { Widget placeholder(BuildContext context) => widget.placeholder?.call(context) ?? const Center( - child: CircularProgressIndicator.adaptive(), + child: CircularProgressIndicator.adaptive(strokeWidth: 2), ); @override