Update notification message format to include total dosage and unit type

This commit is contained in:
2025-08-26 01:23:47 +02:00
parent f8c19f9051
commit 05a9d13164

View File

@@ -61,7 +61,7 @@ class NotificationService {
await _notifications.zonedSchedule(
notificationId,
'Time for ${supplement.name}',
'Take ${supplement.dosage} ${supplement.unit}',
'Take ${supplement.numberOfUnits} ${supplement.unitType} (${supplement.totalDosagePerIntake} ${supplement.unit})',
_nextInstanceOfTime(hour, minute),
const NotificationDetails(
android: AndroidNotificationDetails(