summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/config_list_item.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/src/main/res/layout/config_list_item.xml b/app/src/main/res/layout/config_list_item.xml
index d15d48d6..cdc0723a 100644
--- a/app/src/main/res/layout/config_list_item.xml
+++ b/app/src/main/res/layout/config_list_item.xml
@@ -8,6 +8,10 @@
<import type="com.wireguard.android.VpnService" />
<variable
+ name="key"
+ type="String" />
+
+ <variable
name="item"
type="com.wireguard.config.Config" />
</data>
@@ -27,7 +31,7 @@
android:layout_toStartOf="@+id/config_switch"
android:ellipsize="end"
android:maxLines="1"
- android:text="@{item.name}"
+ android:text="@{key}"
android:textStyle="@{item.primary ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT}" />
<TextView