fix: avatar color
This commit is contained in:
parent
704ee5ef9c
commit
d226bf6020
3 changed files with 10 additions and 4 deletions
|
|
@ -58,8 +58,9 @@ class Avatar extends StatelessWidget {
|
|||
child: Container(
|
||||
width: size,
|
||||
height: size,
|
||||
color:
|
||||
noPic ? name?.lightColor : Theme.of(context).secondaryHeaderColor,
|
||||
color: noPic
|
||||
? name?.lightColorAvatar
|
||||
: Theme.of(context).secondaryHeaderColor,
|
||||
child: noPic
|
||||
? textWidget
|
||||
: MxcImage(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue