瀏覽代碼

preferences: add key to all items to squelch warnings

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
master
Jason A. Donenfeld 4 年之前
父節點
當前提交
46e2e29ead
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      ui/src/main/res/xml/preferences.xml

+ 3
- 3
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"


Loading…
取消
儲存