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