diff --git a/NucleicRemote/NucleicRemote/LiveActivityManager.swift b/NucleicRemote/NucleicRemote/LiveActivityManager.swift index e97793d..fd39e6d 100644 --- a/NucleicRemote/NucleicRemote/LiveActivityManager.swift +++ b/NucleicRemote/NucleicRemote/LiveActivityManager.swift @@ -54,6 +54,10 @@ final class LiveActivityManager { /// latest through one serial task means the newest data always wins — firing an unstructured /// `Task` per `sync` let a later update lose a race to an earlier one and freeze the glance. private var pendingState: NucleicSessionAttributes.ContentState? + /// The alert the next applied update should carry (sound/haptic when a backgrounded session newly + /// needs the user). Latched alongside `pendingState` so an update coalesced away by a fresher one + /// can't drop the alert; consumed (and cleared) when an update is applied. + private var pendingAlert: AlertConfiguration? private var updateTask: Task? /// Set by `RemoteStore` to ship the activity's APNS push token to the paired Macs (and to tell