mirror of
https://github.com/krille-chan/fluffychat
synced 2024-10-05 13:52:46 +00:00
chore: Follow up image bubble performance
This commit is contained in:
parent
5573c7fcbc
commit
bac2dceae4
1 changed files with 7 additions and 3 deletions
|
@ -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…
Reference in a new issue