Skip to content

Commit 6fd74f0

Browse files
committed
Use localized kcal message
1 parent 804624c commit 6fd74f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/dashboard/calendar.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class _DashboardCalendarWidgetState extends State<DashboardCalendarWidget>
146146
// Add events to lists
147147
_events[date]!.add(Event(
148148
EventType.caloriesDiary,
149-
'${entry.value.energy.toStringAsFixed(0)} kcal',
149+
AppLocalizations.of(context).kcalValue(entry.value.energy.toStringAsFixed(0)),
150150
));
151151
}
152152
}

0 commit comments

Comments
 (0)