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'] is String
|
||||||
? event.infoMap['xyz.amorgan.blurhash']
|
? event.infoMap['xyz.amorgan.blurhash']
|
||||||
: 'LEHV6nWB2yk8pyo0adR*.7kCMdnj';
|
: 'LEHV6nWB2yk8pyo0adR*.7kCMdnj';
|
||||||
return BlurHash(
|
return SizedBox(
|
||||||
blurhash: blurHashString,
|
|
||||||
width: width,
|
width: width,
|
||||||
height: height,
|
height: height,
|
||||||
fit: fit,
|
child: BlurHash(
|
||||||
|
blurhash: blurHashString,
|
||||||
|
width: width,
|
||||||
|
height: height,
|
||||||
|
fit: fit,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue