chore: Follow up stickers

pull/920/head
krille-chan 2 years ago
parent 5a6016931b
commit db8e4c2916
No known key found for this signature in database

@ -36,11 +36,6 @@ class ImageBubble extends StatelessWidget {
}); });
Widget _buildPlaceholder(BuildContext context) { Widget _buildPlaceholder(BuildContext context) {
if (event.messageType == MessageTypes.Sticker) {
return const Center(
child: CircularProgressIndicator.adaptive(),
);
}
final String blurHashString = final String blurHashString =
event.infoMap['xyz.amorgan.blurhash'] is String event.infoMap['xyz.amorgan.blurhash'] is String
? event.infoMap['xyz.amorgan.blurhash'] ? event.infoMap['xyz.amorgan.blurhash']

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

Loading…
Cancel
Save