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: {