mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-14 09:46:48 -04:00
refactor: hide true 0 hopsAway text
This commit is contained in:
@@ -45,7 +45,7 @@ fun signalInfo(
|
||||
add("RSSI: %d SNR: %.1f".format(node.rssi, node.snr))
|
||||
}
|
||||
}
|
||||
add(hopsString)
|
||||
if (node.hopsAway != 0) add(hopsString)
|
||||
}.joinToString(" | ")
|
||||
}
|
||||
return if (text.isNotEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user