summaryrefslogtreecommitdiffhomepage
path: root/android/src
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-10-02 17:26:48 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-10-02 17:26:48 +0000
commite8244924d88db405451810aa4f9e19a941cce6f2 (patch)
tree230f9c3259ce42817c3ea3309c413444279bcf1f /android/src
parent1686a92c933d9b0359381cc047725bd42ed177b9 (diff)
downloadmullvadvpn-e8244924d88db405451810aa4f9e19a941cce6f2.tar.xz
mullvadvpn-e8244924d88db405451810aa4f9e19a941cce6f2.zip
Fix disappearing relay out IP address
Diffstat (limited to 'android/src')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/LocationInfo.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/LocationInfo.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/LocationInfo.kt
index f0850326b2..113b416195 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/LocationInfo.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/LocationInfo.kt
@@ -24,6 +24,8 @@ class LocationInfo(val parentView: View, val context: Context) {
var location: GeoIpLocation? = null
set(value) {
+ field = value
+
country.text = value?.country ?: ""
city.text = value?.city ?: ""
hostname.text = value?.hostname ?: ""