Merge pull request #955 from meshtastic/2.5.8

Hide signal meter on node details if hops away > 0
This commit is contained in:
Garth Vander Houwen 2024-10-06 10:03:47 -07:00 committed by GitHub
commit 63e33cb64b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ struct NodeInfoItem: View {
color: Color(UIColor(hex: UInt32(node.num))),
circleSize: 75
)
if node.snr != 0 && !node.viaMqtt {
if node.snr != 0 && !node.viaMqtt && node.hopsAway == 0 {
Spacer()
VStack {
let signalStrength = getLoRaSignalStrength(snr: node.snr, rssi: node.rssi, preset: modemPreset)