mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
smaller bolt
This commit is contained in:
parent
4d37eff1e6
commit
74ab295304
1 changed files with 3 additions and 2 deletions
|
|
@ -87,13 +87,13 @@ struct DeviceMetricsLog: View {
|
|||
.chartXAxis(.automatic)
|
||||
.chartYScale(domain: 0...100)
|
||||
.chartForegroundStyleScale([
|
||||
"Battery Level": batteryChartColor,
|
||||
idiom == .phone ? "Battery" : "Battery Level": batteryChartColor,
|
||||
"Channel Utilization": channelUtilizationChartColor,
|
||||
"Airtime": airtimeChartColor
|
||||
])
|
||||
.chartLegend(position: .automatic, alignment: .bottom)
|
||||
}
|
||||
.frame(minHeight: 250)
|
||||
.frame(minHeight: 240)
|
||||
}
|
||||
let localeDateFormat = DateFormatter.dateFormat(fromTemplate: "yyMdjmma", options: 0, locale: Locale.current)
|
||||
let dateFormatString = (localeDateFormat ?? "M/d/YY j:mma").replacingOccurrences(of: ",", with: "")
|
||||
|
|
@ -107,6 +107,7 @@ struct DeviceMetricsLog: View {
|
|||
.fontWeight(.semibold)
|
||||
Spacer()
|
||||
Image(systemName: "bolt")
|
||||
.font(.caption)
|
||||
.symbolRenderingMode(.multicolor)
|
||||
Text("Volts \(String(format: "%.2f", dm.voltage)) ")
|
||||
.font(.caption2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue