Preferences: Move version pref to top and add icon
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
567503abc7
commit
fd63e496e5
@ -76,9 +76,9 @@
|
|||||||
<string name="tunnel_rename_error">Unable to rename tunnel: %s</string>
|
<string name="tunnel_rename_error">Unable to rename tunnel: %s</string>
|
||||||
<string name="tunnel_rename_success">Successfully renamed tunnel to “%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_title">WireGuard for Android v%s"</string>
|
||||||
<string name="version_kernel_summary">Using kernel module implementation v%s</string>
|
<string name="version_kernel_summary">Kernel module backend v%s</string>
|
||||||
<string name="version_kernel_unknown_summary">Using unknown kernel module implementation</string>
|
<string name="version_kernel_unknown_summary">Unknown kernel module version</string>
|
||||||
<string name="version_userspace_summary">Using Go userspace implementation v%s</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_exporter_title">Export tunnels to zip file</string>
|
||||||
<string name="zip_export_error">Unable to export tunnels: %s</string>
|
<string name="zip_export_error">Unable to export tunnels: %s</string>
|
||||||
<string name="zip_export_success">Saved to %s</string>
|
<string name="zip_export_success">Saved to %s</string>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<com.wireguard.android.preference.VersionPreference android:icon="@mipmap/ic_launcher_round" />
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
android:key="restore_on_boot"
|
android:key="restore_on_boot"
|
||||||
@ -14,5 +15,4 @@
|
|||||||
android:summaryOn="@string/dark_theme_summary_on"
|
android:summaryOn="@string/dark_theme_summary_on"
|
||||||
android:summaryOff="@string/dark_theme_summary_off"
|
android:summaryOff="@string/dark_theme_summary_off"
|
||||||
android:title="@string/dark_theme_title" />
|
android:title="@string/dark_theme_title" />
|
||||||
<com.wireguard.android.preference.VersionPreference />
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
Loading…
Reference in New Issue
Block a user