fix(app): use native schedule text roles instead of fixed sizes and weights

This commit is contained in:
2026-10-21 22:06:39 +01:00
parent 6a0f1c345e
commit ff9d3ce4a8
3 changed files with 10 additions and 17 deletions
@@ -6,8 +6,8 @@ import '../../../../ui/adaptive/host.dart';
/// Secondary text under a field, using the host's own colours and text theme.
TextStyle scheduleEditorSecondaryStyle(BuildContext context) {
if (usesCupertinoHost(context)) {
return CupertinoTheme.of(context).textTheme.textStyle.copyWith(
fontSize: 14,
// The host's own secondary-label style; no invented point size.
return CupertinoTheme.of(context).textTheme.tabLabelTextStyle.copyWith(
color: CupertinoColors.secondaryLabel.resolveFrom(context),
);
}