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 | 70156381a7cd29f75fed664101af30e44deb7bb9 (patch) | |
tree | 4fa0ddb7e66d738b38b697706110e064273cdd86 /app/src/main/res | |
parent | 6231bb18acf53342be20470d2b175fd4bb31b9ee (diff) |
Bindings: Merge bugfixes and updates
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res')
-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 |