Upgrade DM asks, update protobufs, streamline wifi config, add enabled to wificonfig

This commit is contained in:
Garth Vander Houwen 2022-08-04 19:43:03 -07:00
parent f513049366
commit 1f0735749a
9 changed files with 105 additions and 53 deletions

View file

@ -376,9 +376,12 @@ struct CannedMessagesConfig: View {
// RAK Rotary Encoder
updown1Enabled = true
rotary1Enabled = false
inputbrokerEventCw = InputEventChars.keyUp.rawValue
inputbrokerEventCcw = InputEventChars.keyDown.rawValue
inputbrokerEventPress = InputEventChars.keySelect.rawValue
inputbrokerPinA = 4
inputbrokerPinB = 10
inputbrokerPinPress = 3
inputbrokerEventCw = InputEventChars.keyNone.rawValue
inputbrokerEventCcw = InputEventChars.keyNone.rawValue
inputbrokerEventPress = InputEventChars.keyNone.rawValue
} else if newPreset == 2 {

View file

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