refactor: update color opacity methods to use withValues for consistency

This commit is contained in:
2025-08-31 18:32:57 +02:00
parent 62debb6a7c
commit 6a2085f4e6
13 changed files with 38 additions and 319 deletions

View File

@@ -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,
),
);