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:04:54 -07:00
co-authored by Nucleic
parent 45f2e2729e
commit e86fe8ce85
@@ -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: {