chore: Follow up image bubble performance

This commit is contained in:
Krille 2024-03-21 09:16:01 +01:00
parent 5573c7fcbc
commit bac2dceae4
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -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,
),
);
}