mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Merge pull request #109 from meshtastic/feature/user_settings
Clean up module config preview
This commit is contained in:
commit
3b9b17db71
3 changed files with 5 additions and 12 deletions
|
|
@ -1,8 +0,0 @@
|
|||
//
|
||||
// InputBrokerConfig.swift
|
||||
// Meshtastic
|
||||
//
|
||||
// Created by Garth Vander Houwen on 6/28/22.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
|
@ -80,8 +80,9 @@ struct RangeTestConfig: View {
|
|||
Label("Save", systemImage: "square.and.arrow.down.fill")
|
||||
}
|
||||
.toggleStyle(SwitchToggleStyle(tint: .accentColor))
|
||||
.disabled(!(node.myInfo?.hasWifi ?? false))
|
||||
|
||||
Text("Saves a CSV with the range test message details, only available on ESP32 devices with a web server.")
|
||||
Text("Saves a CSV with the range test message details, currently only available on ESP32 devices with a web server.")
|
||||
.font(.caption)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ struct Settings: View {
|
|||
Image(systemName: "point.3.connected.trianglepath.dotted")
|
||||
.symbolRenderingMode(.hierarchical)
|
||||
|
||||
Text("Range Test (ESP32 Only)")
|
||||
Text("Range Test")
|
||||
}
|
||||
.disabled(bleManager.connectedPeripheral == nil)
|
||||
//nodes.first(where: { $0.num == connectedNodeNum })?.myInfo?.hasWifi ?? true)//||
|
||||
|
|
@ -159,7 +159,7 @@ struct Settings: View {
|
|||
|
||||
Text("Serial")
|
||||
}
|
||||
.disabled(false)
|
||||
.disabled(bleManager.connectedPeripheral == nil)
|
||||
|
||||
|
||||
NavigationLink {
|
||||
|
|
@ -171,7 +171,7 @@ struct Settings: View {
|
|||
|
||||
Text("Telemetry (Sensors)")
|
||||
}
|
||||
.disabled(false)
|
||||
.disabled(bleManager.connectedPeripheral == nil)
|
||||
}
|
||||
// Not Implemented:
|
||||
// Store Forward Config - Not Working, TBEAM Only
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue