mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: hide true 0 hopsAway text
This commit is contained in:
parent
2f7b5aa22b
commit
da77cf515f
1 changed files with 1 additions and 1 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue