From ab4efa13cd14d65e4efdad47234036d39a162039 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 22:15:53 -0700 Subject: [PATCH] Settings Feature Enhancement Nucleic-Session: 89BFAB13-D559-43FC-BE28-0B2639BECF0F Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/HostConnection.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Models/HostConnection.swift b/NucleicRemote/NucleicRemote/Models/HostConnection.swift index 37b1921..e020876 100644 --- a/NucleicRemote/NucleicRemote/Models/HostConnection.swift +++ b/NucleicRemote/NucleicRemote/Models/HostConnection.swift @@ -605,6 +605,13 @@ final class HostConnection { // This Mac minted a join code we asked for ("add a device to this mesh") — hand it up // to RemoteStore for the QR/copy sheet. callbacks.pairingCodeReceived(qr) + case .macPairRequested(let req): + // A Mac is joining via a code we shared and needs allow/deny — forward it up so the + // phone can approve the join. + callbacks.macPairRequested(req) + case .macPairResolved(let deviceID, _): + // Answered on this Mac or another device (or timed out) — dismiss the prompt. + callbacks.macPairResolved(deviceID) case .wireError(let error): if error.code == .channelMismatch { connectivity = .failed(error.message)