commit 31ec4b0183b1f1b704922c09897421e315feda34
parent 8d9dfd40be83d2c1c39dcab5a2d9df5d4e6bb81b
Author: Michael Camilleri <[email protected]>
Date: Sat, 6 Jun 2026 10:45:51 +0900
Widen scope where push notifications are in Notification Centre
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Crossmate/CrossmateApp.swift b/Crossmate/CrossmateApp.swift
@@ -129,14 +129,14 @@ final class AppDelegate: NSObject, UIApplicationDelegate, @preconcurrency UNUser
let userInfo = notification.request.content.userInfo
guard let gameID = Self.gameID(from: userInfo) else {
logForegroundVisibleNotification(notification, source: "foreground")
- completionHandler([.banner, .sound])
+ completionHandler([.banner, .list, .sound])
return
}
if NotificationState.isSuppressed(gameID: gameID) {
completionHandler([])
} else {
logForegroundVisibleNotification(notification, source: "foreground")
- completionHandler([.banner, .sound])
+ completionHandler([.banner, .list, .sound])
}
}