Settings Feature Enhancement
Nucleic-Session: 89BFAB13-D559-43FC-BE28-0B2639BECF0F Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -95,6 +95,11 @@ final class HostConnection {
|
||||
/// 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 }
|
||||
/// This host forwarded a Mac-pair confirm — a Mac is joining via a code we shared and
|
||||
/// wants the user's allow/deny. The phone can approve it (`respondMacPair`).
|
||||
var macPairRequested: (WireMacPairRequest) -> Void = { _ in }
|
||||
/// The forwarded Mac-pair (by deviceID) was answered/withdrawn — dismiss the prompt.
|
||||
var macPairResolved: (String) -> Void = { _ in }
|
||||
}
|
||||
private let callbacks: Callbacks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user