mirror of
https://github.com/vleeuwenmenno/supplements.git
synced 2025-09-11 18:29:12 +02:00
refactor: update color opacity methods to use withValues for consistency
This commit is contained in:
@@ -187,7 +187,7 @@ class SimpleNotificationService {
|
||||
final units = s.numberOfUnits;
|
||||
final unitType = s.unitType;
|
||||
final perUnit = s.ingredientsPerUnit;
|
||||
return '${s.name} — $units $unitType (${perUnit})';
|
||||
return '${s.name} — $units $unitType ($perUnit)';
|
||||
}).toList();
|
||||
final body = bodyLines.join('\n');
|
||||
|
||||
@@ -275,7 +275,7 @@ class SimpleNotificationService {
|
||||
createdAtEpochMs: createdAtMs,
|
||||
title: title,
|
||||
payload: payloadStr,
|
||||
singleId: isSingle ? items.first.id as int? : null,
|
||||
singleId: isSingle ? items.first.id : null,
|
||||
timeKey: isSingle ? null : timeKey,
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user