chore: Follow up avatar background

This commit is contained in:
krille-chan 2024-07-20 08:01:06 +02:00
parent 7fef3a69d8
commit e178ab4416
No known key found for this signature in database

View file

@ -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,