Merge branch 'shine/fix-avatar-loading-spinner-stuck' into 'main'
fix: loading spinner stuck on broken images Closes #198 See merge request ChristianPauly/fluffychat-flutter!243
This commit is contained in:
commit
511a50a6f1
|
@ -68,6 +68,11 @@ class Avatar extends StatelessWidget {
|
||||||
textWidget,
|
textWidget,
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
errorWidget: (c, s, d) => Stack(
|
||||||
|
children: [
|
||||||
|
textWidget,
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue