forked from Nexus/nexus
don't pass is_avatar for avatars
This is because Gomuks will not give AVIFs back for avatars./
This commit is contained in:
parent
6e3bc596fd
commit
f80ceb0736
1 changed files with 9 additions and 9 deletions
|
|
@ -37,7 +37,7 @@ final class const AvatarOrHash(
|
|||
child: avatar == null
|
||||
? fallback ?? box
|
||||
: Image(
|
||||
image: MxcImage(ref, .new(mxc: avatar!, isAvatar: true)),
|
||||
image: MxcImage(ref, .new(mxc: avatar!)),
|
||||
fit: .cover,
|
||||
loadingBuilder: (_, child, loadingProgress) =>
|
||||
loadingProgress == null ? child : fallback ?? box,
|
||||
|
|
|
|||
Loading…
Reference in a new issue