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(
'Running',
style: cupertino
? CupertinoTheme.of(context).textTheme.tabLabelTextStyle
: Theme.of(context).textTheme.labelMedium,
? CupertinoTheme.of(context).textTheme.textStyle.copyWith(
fontSize: 13,
fontWeight: FontWeight.w500,
color: CupertinoColors.label.resolveFrom(context),
)
: Theme.of(context).textTheme.labelMedium?.copyWith(
color: Theme.of(
context,
).colorScheme.onSecondaryContainer,
),
),
),
],