design: Make avatars lighter

onboarding
Christian Pauly 4 years ago
parent 78222ab55d
commit 04d1e2afcb

@ -43,7 +43,7 @@ class Avatar extends StatelessWidget {
child: Text( child: Text(
fallbackLetters, fallbackLetters,
style: TextStyle( style: TextStyle(
color: noPic ? Colors.white : null, color: noPic ? name?.darkColor : null,
fontSize: 18, fontSize: 18,
), ),
), ),
@ -57,7 +57,8 @@ class Avatar extends StatelessWidget {
child: Container( child: Container(
width: size, width: size,
height: size, height: size,
color: noPic ? name?.color : Theme.of(context).secondaryHeaderColor, color:
noPic ? name?.lightColor : Theme.of(context).secondaryHeaderColor,
child: noPic child: noPic
? textWidget ? textWidget
: CachedNetworkImage( : CachedNetworkImage(

Loading…
Cancel
Save