mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Merge pull request #739 from ianmacd/pr1
Display the service node's IP address after its country.
This commit is contained in:
commit
678d8094a1
@ -99,7 +99,7 @@ class IP2Country private constructor(private val context: Context) {
|
||||
|
||||
val bestMatchCountry = comps.lastOrNull { it.key <= Ipv4Int(ip) }?.let { (_, code) ->
|
||||
if (code != null) {
|
||||
countryToNames[code]
|
||||
countryToNames[code] + " [" + ip + "]"
|
||||
} else {
|
||||
null
|
||||
}
|
||||
@ -126,4 +126,4 @@ class IP2Country private constructor(private val context: Context) {
|
||||
}
|
||||
}
|
||||
// endregion
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user