Clean up everything
This commit is contained in:
parent
cccbd7557e
commit
f4ef4eeea9
15 changed files with 617 additions and 375 deletions
|
|
@ -42,7 +42,9 @@ class Avatar extends StatelessWidget {
|
|||
src,
|
||||
)
|
||||
: null,
|
||||
backgroundColor: name?.color ?? Theme.of(context).secondaryHeaderColor,
|
||||
backgroundColor: mxContent.mxc.isEmpty
|
||||
? name?.color ?? Theme.of(context).secondaryHeaderColor
|
||||
: Theme.of(context).secondaryHeaderColor,
|
||||
child: mxContent.mxc.isEmpty
|
||||
? Text(fallbackLetters, style: TextStyle(color: Colors.white))
|
||||
: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue