ui cleanup

This commit is contained in:
Christien Rioux 2025-03-17 00:51:16 -04:00
parent d460a0388c
commit 77c68aa45f
57 changed files with 1158 additions and 914 deletions

View file

@ -10,11 +10,11 @@ class AvailabilityWidget extends StatelessWidget {
{required this.availability,
required this.color,
this.vertical = true,
this.iconSize = 32,
this.iconSize = 24,
super.key});
static Widget availabilityIcon(proto.Availability availability, Color color,
{double size = 32}) {
{double size = 24}) {
late final Widget iconData;
switch (availability) {
case proto.Availability.AVAILABILITY_AWAY:
@ -70,7 +70,7 @@ class AvailabilityWidget extends StatelessWidget {
])
: Row(mainAxisSize: MainAxisSize.min, children: [
icon,
Text(name, style: textTheme.labelSmall!.copyWith(color: color))
Text(name, style: textTheme.labelLarge!.copyWith(color: color))
.paddingLTRB(8, 0, 0, 0)
]);
}