Restrict ESP32 only plugins, finish telemetry log.

This commit is contained in:
Garth Vander Houwen 2022-07-08 12:05:39 -07:00
parent 3b90bb7ecc
commit 95b35e7e45
6 changed files with 192 additions and 7 deletions

View file

@ -272,6 +272,7 @@ struct SerialConfig: View {
.font(.caption)
}
}
.disabled(!(node!.myInfo?.hasWifi ?? false))
Button {
@ -281,7 +282,7 @@ struct SerialConfig: View {
Label("Save", systemImage: "square.and.arrow.down")
}
.disabled(bleManager.connectedPeripheral == nil || !hasChanges)
.disabled(bleManager.connectedPeripheral == nil || !hasChanges || !(node!.myInfo?.hasWifi ?? false))
.buttonStyle(.bordered)
.buttonBorderShape(.capsule)
.controlSize(.large)