diff options
author | Samuel Holland <samuel@sholland.org> | 2017-11-08 00:07:29 -0600 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-11-08 00:07:29 -0600 |
commit | 51ae22f211e0a17c817c9a45941c1e50bbd8d245 (patch) | |
tree | 4fa0ddb7e66d738b38b697706110e064273cdd86 /app/src/main/res/layout | |
parent | 8450ae9e86828a64e5f4e55738ed392de3450209 (diff) |
Bindings: Merge bugfixes and updates
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/config_list_item.xml | 6 |
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 |