mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 06:15:10 +00:00
chore: Follow up avatar background
This commit is contained in:
parent
7fef3a69d8
commit
e178ab4416
1 changed files with 3 additions and 1 deletions
|
@ -68,7 +68,9 @@ class Avatar extends StatelessWidget {
|
|||
width: size,
|
||||
height: size,
|
||||
child: Material(
|
||||
color: Theme.of(context).colorScheme.surfaceContainerLowest,
|
||||
color: Theme.of(context).brightness == Brightness.light
|
||||
? Colors.white
|
||||
: Colors.black,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: borderRadius,
|
||||
side: border ?? BorderSide.none,
|
||||
|
|
Loading…
Reference in a new issue