mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-05 14:32:34 +01:00
design: Remove annoying progress indicator from avatar
This commit is contained in:
parent
c49a410eac
commit
2be26e0287
@ -69,12 +69,7 @@ class Avatar extends StatelessWidget {
|
|||||||
fit: BoxFit.cover,
|
fit: BoxFit.cover,
|
||||||
width: size,
|
width: size,
|
||||||
height: size,
|
height: size,
|
||||||
placeholder: (c, s) => Stack(
|
placeholder: (c, s) => textWidget,
|
||||||
children: [
|
|
||||||
Center(child: CircularProgressIndicator(strokeWidth: 2)),
|
|
||||||
textWidget,
|
|
||||||
],
|
|
||||||
),
|
|
||||||
errorWidget: (c, s, d) => Stack(
|
errorWidget: (c, s, d) => Stack(
|
||||||
children: [
|
children: [
|
||||||
textWidget,
|
textWidget,
|
||||||
|
Loading…
Reference in New Issue
Block a user