diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index e896ca4..1327198 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -414,6 +414,10 @@ final class RemoteStore: ObservableObject { /// state until the app next runs. func handleLiveActivityAdoptWake(completion: @escaping () -> Void) { guard !demoMode, isPaired else { completion(); return } + // A silent adopt wake means we're background (possibly cold-launched with no scene, where + // `isForeground`'s default would otherwise read stale-true) — record that so the reconnect + // below reports background and the host keeps owning the glance via push-to-start (§5.3). + setForegroundState(false) setupLiveActivityBridge() // starts the push-to-start + adoption observers if not already startNetworkingIfNeeded() #if canImport(UIKit)