chore: Follow up image bubble performance

pull/953/head
Krille 2 years ago
parent 5573c7fcbc
commit bac2dceae4
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

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

Loading…
Cancel
Save