From 2be26e02874d3a2db1b9528684442d9d70fec407 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 20 Jun 2021 14:32:12 +0200 Subject: [PATCH] design: Remove annoying progress indicator from avatar --- lib/widgets/avatar.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/widgets/avatar.dart b/lib/widgets/avatar.dart index eb4d3826..93457118 100644 --- a/lib/widgets/avatar.dart +++ b/lib/widgets/avatar.dart @@ -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,