From acea2603261c10afcc27ead3efabed697fbdcd44 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Fri, 2 Aug 2024 20:45:25 -0700 Subject: [PATCH] Select the chart by the second --- Localizable.xcstrings | 6 +++--- Meshtastic/Views/Nodes/DeviceMetricsLog.swift | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Localizable.xcstrings b/Localizable.xcstrings index 967567c0..0bc052fb 100644 --- a/Localizable.xcstrings +++ b/Localizable.xcstrings @@ -14631,9 +14631,6 @@ }, "Mininum time between detection broadcasts. Default is 45 seconds." : { - }, - "Minute" : { - }, "mode" : { "localizations" : { @@ -18789,6 +18786,9 @@ }, "Search" : { + }, + "Second" : { + }, "Secondary" : { diff --git a/Meshtastic/Views/Nodes/DeviceMetricsLog.swift b/Meshtastic/Views/Nodes/DeviceMetricsLog.swift index d62d62c0..3ffce6cb 100644 --- a/Meshtastic/Views/Nodes/DeviceMetricsLog.swift +++ b/Meshtastic/Views/Nodes/DeviceMetricsLog.swift @@ -60,7 +60,7 @@ struct DeviceMetricsLog: View { .accessibilityValue("X: \(point.time!), Y: \(point.channelUtilization)") .foregroundStyle(channelUtilizationChartColor) if let chartSelection { - RuleMark(x: .value("Minute", chartSelection, unit: .minute)) + RuleMark(x: .value("Second", chartSelection, unit: .second)) .foregroundStyle(.tertiary.opacity(0.5)) // .annotation( // position: .automatic,