From 186d4c542d9d8f3fd46e6347f23512d5279a5769 Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Wed, 3 Apr 2024 10:49:36 -0700 Subject: [PATCH] Make yellow/Fair RSSI possible I'm guessing a bit, but I suspect this was the intent, but the inequalities are backwards (as clearly no number is both greater than -115 and less than -120). --- Meshtastic/Views/Helpers/LoRaSignalStrengthIndicator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meshtastic/Views/Helpers/LoRaSignalStrengthIndicator.swift b/Meshtastic/Views/Helpers/LoRaSignalStrengthIndicator.swift index 85db8ec1..4405e819 100644 --- a/Meshtastic/Views/Helpers/LoRaSignalStrengthIndicator.swift +++ b/Meshtastic/Views/Helpers/LoRaSignalStrengthIndicator.swift @@ -85,7 +85,7 @@ func getRssiColor(rssi: Int32) -> Color { if rssi > -115 { /// Good return .green - } else if rssi > -115 && rssi < -120 { + } else if rssi > -120 { /// Fair return .yellow } else if rssi > -126 {