mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Restrict wifi to devices with wifi
This commit is contained in:
parent
045fb598d5
commit
2756db10ec
2 changed files with 2 additions and 2 deletions
|
|
@ -107,7 +107,7 @@ struct WiFiConfig: View {
|
|||
|
||||
}
|
||||
}
|
||||
.disabled(bleManager.connectedPeripheral == nil)
|
||||
.disabled(!(node != nil && node!.myInfo?.hasWifi ?? false))
|
||||
|
||||
Button {
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ struct Settings: View {
|
|||
Image(systemName: "wifi")
|
||||
.symbolRenderingMode(.hierarchical)
|
||||
|
||||
Text("WiFi")
|
||||
Text("WiFi (ESP32 Only)")
|
||||
}
|
||||
.disabled(bleManager.connectedPeripheral == nil)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue