kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
refactor: hide true 0 `hopsAway` text
rodzic
2f7b5aa22b
commit
da77cf515f
|
@ -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()) {
|
||||
|
|
Ładowanie…
Reference in New Issue