Fix web avatars
This commit is contained in:
parent
fda757ea46
commit
158e09910a
4 changed files with 37 additions and 32 deletions
|
|
@ -335,12 +335,10 @@ class _EmoteImage extends StatelessWidget {
|
|||
method: ThumbnailMethod.scale,
|
||||
);
|
||||
return Image(
|
||||
image: kIsWeb
|
||||
? NetworkImage(url)
|
||||
: AdvancedNetworkImage(
|
||||
url,
|
||||
useDiskCache: true,
|
||||
),
|
||||
image: AdvancedNetworkImage(
|
||||
url,
|
||||
useDiskCache: !kIsWeb,
|
||||
),
|
||||
fit: BoxFit.contain,
|
||||
width: size,
|
||||
height: size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue