From e86fe8ce854b1c549f0e637dca9b4a074119ad42 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 22:04:54 -0700 Subject: [PATCH] Settings Feature Enhancement Nucleic-Session: 89BFAB13-D559-43FC-BE28-0B2639BECF0F Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Views/SettingsView.swift | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/SettingsView.swift b/NucleicRemote/NucleicRemote/Views/SettingsView.swift index cea45ea..2e95b09 100644 --- a/NucleicRemote/NucleicRemote/Views/SettingsView.swift +++ b/NucleicRemote/NucleicRemote/Views/SettingsView.swift @@ -140,6 +140,16 @@ struct SettingsView: View { } Section { + // Grow the mesh: ask a connected Mac to mint a join code this phone shows — + // scan it from a new iPhone/iPad, or copy the link to a new Mac. Only when a + // live Mac can mint one (the phone can't originate a join code on its own). + if store.canAddDeviceToMesh { + Button { + showAddDevice = true + } label: { + Label("Add a device to this mesh", systemImage: "plus.circle") + } + } Button { showScanner = true } label: {