summaryrefslogtreecommitdiffhomepage
path: root/android/src
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-08-02 00:11:12 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-08-02 13:46:52 +0000
commit005f5fd7029991d1265134558691ff2992bfb5d6 (patch)
tree7424c929c952cb8a644b42745752d62dba367e06 /android/src
parent5e6baa8cc2150661e99b3ae5192193e0d2c0eaa7 (diff)
downloadmullvadvpn-005f5fd7029991d1265134558691ff2992bfb5d6.tar.xz
mullvadvpn-005f5fd7029991d1265134558691ff2992bfb5d6.zip
Remove `Label` suffix from fields
Diffstat (limited to 'android/src')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/LocationInfo.kt12
1 files changed, 6 insertions, 6 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/LocationInfo.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/LocationInfo.kt
index 74e826261d..41678fe1ce 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/LocationInfo.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/LocationInfo.kt
@@ -6,14 +6,14 @@ import android.widget.TextView
import net.mullvad.mullvadvpn.model.GeoIpLocation
class LocationInfo(val parentView: View) {
- private val countryLabel: TextView = parentView.findViewById(R.id.country)
- private val cityLabel: TextView = parentView.findViewById(R.id.city)
- private val hostnameLabel: TextView = parentView.findViewById(R.id.hostname)
+ private val country: TextView = parentView.findViewById(R.id.country)
+ private val city: TextView = parentView.findViewById(R.id.city)
+ private val hostname: TextView = parentView.findViewById(R.id.hostname)
var location: GeoIpLocation? = null
set(value) {
- countryLabel.text = value?.country ?: ""
- cityLabel.text = value?.city ?: ""
- hostnameLabel.text = value?.hostname ?: ""
+ country.text = value?.country ?: ""
+ city.text = value?.city ?: ""
+ hostname.text = value?.hostname ?: ""
}
}