Settings Feature Enhancement
Nucleic-Session: 89BFAB13-D559-43FC-BE28-0B2639BECF0F Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user