mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Upgrade DM asks, update protobufs, streamline wifi config, add enabled to wificonfig
This commit is contained in:
parent
f513049366
commit
1f0735749a
9 changed files with 105 additions and 53 deletions
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue