mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
design: Make avatars lighter
This commit is contained in:
parent
d3f87aeaad
commit
77fd7a811c
@ -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…
Reference in New Issue
Block a user