diff --git a/Localizable.xcstrings b/Localizable.xcstrings index 0ea54454..9650f2ca 100644 --- a/Localizable.xcstrings +++ b/Localizable.xcstrings @@ -140,16 +140,6 @@ }, "%@%%" : { - }, - "%@%% %@%%" : { - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "new", - "value" : "%1$@%% %2$@%%" - } - } - } }, "%@°F" : { @@ -1428,16 +1418,6 @@ }, "Bad" : { - }, - "Bad Packets: %d %@%%" : { - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "new", - "value" : "Bad Packets: %1$d %2$@%%" - } - } - } }, "Bandwidth" : { @@ -16085,16 +16065,6 @@ }, "Override automatic OLED screen detection." : { - }, - "Packets: Sent: %d Received: %d" : { - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "new", - "value" : "Packets: Sent: %1$d Received: %2$d" - } - } - } }, "password" : { "localizations" : { @@ -22325,9 +22295,6 @@ } } } - }, - "Uptime: %@" : { - }, "Use a PWM output (like the RAK Buzzer) for tunes instead of an on/off output. This will ignore the output, output duration and active settings and use the device config buzzer GPIO option instead." : { diff --git a/Meshtastic/Views/Bluetooth/Connect.swift b/Meshtastic/Views/Bluetooth/Connect.swift index 911bf10e..f7aaa738 100644 --- a/Meshtastic/Views/Bluetooth/Connect.swift +++ b/Meshtastic/Views/Bluetooth/Connect.swift @@ -27,7 +27,6 @@ struct Connect: View { @State var invalidFirmwareVersion = false @State var liveActivityStarted = false @State var selectedPeripherialId = "" - @State var localStats: TelemetryEntity? init () { let notificationCenter = UNUserNotificationCenter.current() @@ -91,45 +90,6 @@ struct Connect: View { } } } - VStack { - if localStats != nil { - Divider() - if localStats?.numTotalNodes ?? 0 >= 100 { - Text("\(String(format: "Connected: %d nodes online", localStats?.numOnlineNodes ?? 0))") - .font(.callout) - .fontWeight(.medium) - .foregroundStyle(.secondary) - .fixedSize() - } else { - Text("\(String(format: "Connected: %d of %d nodes online", localStats?.numOnlineNodes ?? 0, localStats?.numTotalNodes ?? 0))") - .font(.callout) - .fontWeight(.medium) - .foregroundStyle(.secondary) - .fixedSize() - } - Text("\(String(format: "Ch. Util: %.2f", localStats?.channelUtilization ?? 0))% \(String(format: "Airtime: %.2f", localStats?.airUtilTx ?? 0))%") - .font(.caption) - .fontWeight(.medium) - .foregroundStyle(.secondary) - Text("Packets: Sent: \(localStats?.numPacketsTx ?? 0) Received: \(localStats?.numPacketsRx ?? 0)") - .font(.caption) - .fontWeight(.medium) - .foregroundStyle(.secondary) - let errorRate = (Double(localStats?.numPacketsRxBad ?? -1) / Double(localStats?.numPacketsRx ?? -1)) * 100 - Text("Bad Packets: \(localStats?.numPacketsRxBad ?? 0) \(String(format: "Error Rate: %.2f", errorRate))%") - .font(.caption) - .fontWeight(.medium) - .foregroundStyle(.secondary) - .fixedSize() - let now = Date.now - let later = now + TimeInterval(Double(localStats?.numPacketsRxBad ?? 0)) - let uptime = (now.. 0 && sub {