summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-09-15 19:52:58 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-09-23 21:40:50 +0000
commit8a8525f79f9dc14797d760cb3afe474ea3409b46 (patch)
tree0234bec9089aaa48faed7a0204425390c2b9223a
parent8c954fecee3120027fd1b847fd914c8aba03da3f (diff)
downloadmullvadvpn-8a8525f79f9dc14797d760cb3afe474ea3409b46.tar.xz
mullvadvpn-8a8525f79f9dc14797d760cb3afe474ea3409b46.zip
Change view ID of the label in the history entry
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt2
-rw-r--r--android/src/main/res/layout/account_history_entry.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt
index 131d9c0c65..ac17ce7956 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountLogin.kt
@@ -147,7 +147,7 @@ class AccountLogin : RelativeLayout {
ArrayAdapter(
context,
R.layout.account_history_entry,
- R.id.account_history_entry_text_view,
+ R.id.label,
history
)
)
diff --git a/android/src/main/res/layout/account_history_entry.xml b/android/src/main/res/layout/account_history_entry.xml
index 440cce957d..d168bc6cc1 100644
--- a/android/src/main/res/layout/account_history_entry.xml
+++ b/android/src/main/res/layout/account_history_entry.xml
@@ -2,7 +2,7 @@
android:layout_width="match_parent"
android:layout_height="@dimen/account_history_entry_height"
android:orientation="vertical">
- <TextView android:id="@+id/account_history_entry_text_view"
+ <TextView android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/account_history_entry_background"