Keep background task status badges legible on Cupertino
This commit is contained in:
@@ -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,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user