mirror of
https://github.com/vleeuwenmenno/supplements.git
synced 2025-09-11 10:27:08 +02:00
Update notification message format to include total dosage and unit type
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user