Skip to content

Commit

Permalink
fix(day_navigation): use hintColor
Browse files Browse the repository at this point in the history
  • Loading branch information
albertms10 committed Dec 19, 2021
1 parent 26ef401 commit edbb957
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/widgets/layout/day_navigation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,18 @@ class _WeekDateTime extends StatelessWidget {

@override
Widget build(BuildContext context) {
final theme = Theme.of(context);

return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
DateFormat.EEEE().format(dateTime),
style: Theme.of(context).textTheme.headline5,
style: theme.textTheme.headline5,
),
Text(
DateFormat.yMMMMd().format(dateTime),
style: Theme.of(context)
.textTheme
.subtitle2!
.copyWith(color: Colors.white70),
style: theme.textTheme.subtitle2!.copyWith(color: theme.hintColor),
),
],
);
Expand Down

0 comments on commit edbb957

Please sign in to comment.