Minor design fixes

This commit is contained in:
Christian Pauly 2020-06-25 09:15:53 +02:00
commit c8249befd8
3 changed files with 12 additions and 2 deletions

View file

@ -48,7 +48,7 @@ class Avatar extends StatelessWidget {
)
: null,
backgroundColor: noPic
? name?.color ?? Theme.of(context).secondaryHeaderColor
? name?.lightColor ?? Theme.of(context).secondaryHeaderColor
: Theme.of(context).secondaryHeaderColor,
child: noPic
? Text(fallbackLetters, style: TextStyle(color: Colors.white))