chore: Follow up avatars

This commit is contained in:
krille-chan 2024-07-18 17:41:45 +02:00
commit b8345e2ca6
No known key found for this signature in database
4 changed files with 77 additions and 67 deletions

View file

@ -75,7 +75,8 @@ class Avatar extends StatelessWidget {
child: noPic
? textWidget
: MxcImage(
key: Key(mxContent.toString()),
key: ValueKey(mxContent.toString()),
cacheKey: '${mxContent}_$size',
uri: mxContent,
fit: BoxFit.cover,
width: size,