Push Notification Live Activity Redundancy
Nucleic-Session: 73687ED9-C11C-438C-832B-979332B73893 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -704,7 +704,7 @@ final class RemoteStore: ObservableObject {
|
||||
// doesn't show over the app that controls it), so the banner is; and if there's no glance
|
||||
// at all (Live Activities off) the banner is the only surface, so keep it as the fallback.
|
||||
// willPresent still suppresses the banner when the user is already on this session.
|
||||
if isForeground || !LiveActivityManager.shared.hasLiveActivity {
|
||||
if self.isForeground || !LiveActivityManager.shared.hasLiveActivity {
|
||||
NotificationRouter.shared.postApproval(req, sessionTitle: title)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user