From 8d940cf3c83bd2c3f4e3d0d7f5dc2a99828eecfd Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 22:02:49 -0700 Subject: [PATCH] Settings Feature Enhancement Nucleic-Session: 89BFAB13-D559-43FC-BE28-0B2639BECF0F Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/HostConnection.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Models/HostConnection.swift b/NucleicRemote/NucleicRemote/Models/HostConnection.swift index 8587ad9..108ec67 100644 --- a/NucleicRemote/NucleicRemote/Models/HostConnection.swift +++ b/NucleicRemote/NucleicRemote/Models/HostConnection.swift @@ -92,6 +92,9 @@ final class HostConnection { var meshRosterChanged: () -> Void = {} /// The embedded Tailscale node's status changed (for Settings). var tailnetStatus: (String?, URL?) -> Void = { _, _ in } + /// A join code this host minted at our request ("add a device to this mesh") — the + /// `nucleic://pair?d=…` string to show as a QR / copyable code, or nil if it couldn't. + var pairingCodeReceived: (String?) -> Void = { _ in } } private let callbacks: Callbacks