chore: Follow up stickers

This commit is contained in:
krille-chan 2024-02-25 19:57:59 +01:00
parent 5a6016931b
commit db8e4c2916
No known key found for this signature in database
2 changed files with 1 additions and 6 deletions

View file

@ -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']

View file

@ -150,7 +150,7 @@ class _MxcImageState extends State<MxcImage> {
Widget placeholder(BuildContext context) =>
widget.placeholder?.call(context) ??
const Center(
child: CircularProgressIndicator.adaptive(),
child: CircularProgressIndicator.adaptive(strokeWidth: 2),
);
@override