mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 10:25:11 +00:00
chore: Follow up stickers
This commit is contained in:
parent
5a6016931b
commit
db8e4c2916
2 changed files with 1 additions and 6 deletions
|
@ -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…
Reference in a new issue