design: Remove annoying progress indicator from avatar

This commit is contained in:
Christian Pauly 2021-06-20 14:32:12 +02:00
parent c49a410eac
commit 2be26e0287

View File

@ -69,12 +69,7 @@ class Avatar extends StatelessWidget {
fit: BoxFit.cover,
width: size,
height: size,
placeholder: (c, s) => Stack(
children: [
Center(child: CircularProgressIndicator(strokeWidth: 2)),
textWidget,
],
),
placeholder: (c, s) => textWidget,
errorWidget: (c, s, d) => Stack(
children: [
textWidget,