From 9d68293be986d3f0737f6fad1eed6a5f32ba5889 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Thu, 9 Jul 2026 14:37:38 -0700 Subject: [PATCH] Foreground Connection Delay Adjustment Nucleic-Session: CB658C4F-A19F-447C-B313-7CB21783BD94 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/RemoteStore.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index 7d9e829..252ad64 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -769,6 +769,9 @@ final class RemoteStore: ObservableObject { self.rebuildAggregate() self.refreshAggregate() self.flushPendingNotificationDecision() + // A link just came up — replay any intents the user took while we were optimistically + // pretending to be connected. + self.flushPendingActions() // A host that just connected (or reconnected) needs the current Live Activity token // so it can push while the phone is away — and the push-to-start token so it can create // the glance cold when work starts before the app is opened.