Settings Feature Enhancement

Nucleic-Session: 89BFAB13-D559-43FC-BE28-0B2639BECF0F
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-05 22:15:53 -07:00
co-authored by Nucleic
parent 6d6abc5c29
commit ab4efa13cd
@@ -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 // 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. // to RemoteStore for the QR/copy sheet.
callbacks.pairingCodeReceived(qr) 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): case .wireError(let error):
if error.code == .channelMismatch { if error.code == .channelMismatch {
connectivity = .failed(error.message) connectivity = .failed(error.message)