chore: Follow up mxc image fixes

This commit is contained in:
Christian Pauly 2022-07-29 21:01:18 +02:00
commit 8d30c95333
2 changed files with 39 additions and 6 deletions

View file

@ -63,11 +63,13 @@ class Avatar extends StatelessWidget {
child: noPic
? textWidget
: MxcImage(
key: Key(mxContent.toString()),
uri: mxContent,
fit: BoxFit.cover,
width: size,
height: size,
placeholder: (_) => textWidget,
cacheKey: mxContent.toString(),
),
),
),