mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Clean up phone telemetry views
This commit is contained in:
parent
c1582c6cd6
commit
acbead1fe3
1 changed files with 2 additions and 7 deletions
|
|
@ -179,7 +179,7 @@ struct TelemetryLog: View {
|
|||
if tel.metricsType == 0 {
|
||||
|
||||
// Device Metrics
|
||||
HStack {
|
||||
VStack {
|
||||
|
||||
Text("Device Metrics")
|
||||
.font(.title3)
|
||||
|
|
@ -208,9 +208,6 @@ struct TelemetryLog: View {
|
|||
.font(.callout)
|
||||
}
|
||||
|
||||
}
|
||||
HStack {
|
||||
|
||||
Text("Channel Utilization: \(String(format: "%.2f", tel.channelUtilization))%")
|
||||
.foregroundColor(.gray)
|
||||
.font(.callout)
|
||||
|
|
@ -237,7 +234,7 @@ struct TelemetryLog: View {
|
|||
|
||||
let tempReadingType = (!(node.telemetryConfig?.environmentDisplayFahrenheit ?? true)) ? "°F" : "°C"
|
||||
|
||||
HStack {
|
||||
VStack {
|
||||
|
||||
Text("Environment Metrics")
|
||||
.font(.title3)
|
||||
|
|
@ -288,8 +285,6 @@ struct TelemetryLog: View {
|
|||
.foregroundColor(.gray)
|
||||
.font(.callout)
|
||||
}
|
||||
}
|
||||
HStack {
|
||||
|
||||
if sensor == SensorTypes.bme280 ||
|
||||
sensor == SensorTypes.bme680 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue