Keep background task status badges legible on Cupertino

This commit is contained in:
2026-11-07 00:00:21 +00:00
parent cd175e099b
commit 21542fb4f0
@@ -55,8 +55,16 @@ class ChatBackgroundTaskCard extends StatelessWidget {
child: Text( child: Text(
'Running', 'Running',
style: cupertino style: cupertino
? CupertinoTheme.of(context).textTheme.tabLabelTextStyle ? CupertinoTheme.of(context).textTheme.textStyle.copyWith(
: Theme.of(context).textTheme.labelMedium, fontSize: 13,
fontWeight: FontWeight.w500,
color: CupertinoColors.label.resolveFrom(context),
)
: Theme.of(context).textTheme.labelMedium?.copyWith(
color: Theme.of(
context,
).colorScheme.onSecondaryContainer,
),
), ),
), ),
], ],