diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-03-25 17:01:43 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-03-26 00:49:01 -0600 |
commit | 46e2e29ead6fcd2b2ced46b965bc5e74484dead6 (patch) | |
tree | 8318d75231d6b84cb15f35c66ef162b38c3d4992 | |
parent | 63a395125aa40ab9f30f3479d8e005306a16bd78 (diff) |
preferences: add key to all items to squelch warnings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | ui/src/main/res/xml/preferences.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/src/main/res/xml/preferences.xml b/ui/src/main/res/xml/preferences.xml index 06d7ac7c..4c81c7c9 100644 --- a/ui/src/main/res/xml/preferences.xml +++ b/ui/src/main/res/xml/preferences.xml @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> - <com.wireguard.android.preference.VersionPreference android:icon="@mipmap/ic_launcher" /> +<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:key="settings"> + <com.wireguard.android.preference.VersionPreference android:icon="@mipmap/ic_launcher" android:key="version" /> <CheckBoxPreference android:defaultValue="false" android:key="restore_on_boot" android:summaryOn="@string/restore_on_boot_summary_on" android:summaryOff="@string/restore_on_boot_summary_off" android:title="@string/restore_on_boot_title" /> - <com.wireguard.android.preference.ZipExporterPreference /> + <com.wireguard.android.preference.ZipExporterPreference android:key="zip_exporter" /> <Preference android:key="log_viewer" android:title="@string/log_viewer_title" |