Preferences: Move version pref to top and add icon

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2018-06-02 12:23:38 +05:30 committed by Jason A. Donenfeld
parent 567503abc7
commit fd63e496e5
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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>