mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Replace "unknown" with "?" for unknown hop count (#1308)
This commit replaces the string "unknown" with a question mark ("?") when displaying the hop count for a
node if the hop count is unknown (-1). This provides a more concise and visually clear indication of an unknown hop count.
This commit is contained in:
parent
38942ec557
commit
86dc8f2b1c
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ fun signalInfo(
|
|||
val hopsString = "%s: %s".format(
|
||||
stringResource(R.string.hops_away),
|
||||
if (node.hopsAway == -1) {
|
||||
stringResource(R.string.unknown)
|
||||
"?"
|
||||
} else {
|
||||
node.hopsAway.toString()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue