π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Optional notification message
laurenspriem544078a40cda
diff --git a/mobile/lib/services/memories_cache_service.dart b/mobile/lib/services/memories_cache_service.dartindex 839a53cead..6f3534ec4f 100644--- a/mobile/lib/services/memories_cache_service.dart+++ b/mobile/lib/services/memories_cache_service.dart@@ -308,7 +308,7 @@ class MemoriesCacheService {final s = await LanguageService.s;await NotificationService.instance.scheduleNotification(s.onThisDay,- s.lookBackOnYourMemories,+ message: s.lookBackOnYourMemories,id: memory.id.hashCode,channelID: "onThisDay",channelName: s.onThisDay,@@ -376,7 +376,6 @@ class MemoriesCacheService {memory.personName != null? "Happy birthday to ${memory.personName}! π": "Happy birthday! π₯³",- // TODO:lau (after mergin main): change `scheduleNotification` api to make message optional// TODO:lau (after mergin main): extract stringsid: memory.id.hashCode,channelID: "birthday",diff --git a/mobile/lib/services/notification_service.dart b/mobile/lib/services/notification_service.dartindex 23ec9eb12d..c315d3e410 100644--- a/mobile/lib/services/notification_service.dart+++ b/mobile/lib/services/notification_service.dart@@ -143,8 +143,8 @@ class NotificationService {}Future<void> scheduleNotification(- String title,- String message, {+ String title, {+ String? message,required int id,String channelID = "io.ente.photos",String channelName = "ente",