We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 804624c commit 6fd74f0Copy full SHA for 6fd74f0
lib/widgets/dashboard/calendar.dart
@@ -146,7 +146,7 @@ class _DashboardCalendarWidgetState extends State<DashboardCalendarWidget>
146
// Add events to lists
147
_events[date]!.add(Event(
148
EventType.caloriesDiary,
149
- '${entry.value.energy.toStringAsFixed(0)} kcal',
+ AppLocalizations.of(context).kcalValue(entry.value.energy.toStringAsFixed(0)),
150
));
151
}
152
0 commit comments