diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2018-06-02 12:23:38 +0530 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-02 19:35:11 +0200 |
commit | fd63e496e552ac70ce6d9652457e16f2f87f3b46 (patch) | |
tree | 49bf1e664356e7b049e90bc664325eaf80dd93a5 /app/src/main | |
parent | 567503abc740e6816fc1a207075a05da8e0f7e8a (diff) |
Preferences: Move version pref to top and add icon
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/res/values/strings.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 192d444c..430c8423 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -76,9 +76,9 @@ <string name="tunnel_rename_error">Unable to rename tunnel: %s</string> <string name="tunnel_rename_success">Successfully renamed tunnel to ā%sā</string> <string name="version_title">WireGuard for Android v%s"</string> - <string name="version_kernel_summary">Using kernel module implementation v%s</string> - <string name="version_kernel_unknown_summary">Using unknown kernel module implementation</string> - <string name="version_userspace_summary">Using Go userspace implementation v%s</string> + <string name="version_kernel_summary">Kernel module backend v%s</string> + <string name="version_kernel_unknown_summary">Unknown kernel module version</string> + <string name="version_userspace_summary">Go userspace backend v%s</string> <string name="zip_exporter_title">Export tunnels to zip file</string> <string name="zip_export_error">Unable to export tunnels: %s</string> <string name="zip_export_success">Saved to %s</string> diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 680e8137..589e9df8 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + <com.wireguard.android.preference.VersionPreference android:icon="@mipmap/ic_launcher_round" /> <CheckBoxPreference android:defaultValue="false" android:key="restore_on_boot" @@ -14,5 +15,4 @@ android:summaryOn="@string/dark_theme_summary_on" android:summaryOff="@string/dark_theme_summary_off" android:title="@string/dark_theme_title" /> - <com.wireguard.android.preference.VersionPreference /> </PreferenceScreen> |