diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index f9d24bc..187fd94 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -92,6 +92,13 @@ final class RemoteStore: ObservableObject { /// its pairing window. private var pairingMintHostID: String? + /// A Mac trying to join via a code this phone shared, awaiting the user's allow/deny — the Mac + /// forwarded its pairing confirm here (`HostMsg.macPairRequested`) so it can be approved from + /// the phone. The "add a device" sheet renders an allow/deny dialog for it. + @Published private(set) var pendingMacPairRequest: WireMacPairRequest? + /// The host that forwarded the pending confirm, so the answer routes back to it. + private var pendingMacPairHostID: String? + /// A transient host-reported error (the mobile echo of the Mac's last-error bubble): /// shown as a red bubble at the bottom of the screen, auto-dismissed after a few seconds. struct LastError: Equatable, Identifiable {