From 31ddb242a648395a16654526371ec51f5cf790e8 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 9 Mar 2020 14:48:02 -0600 Subject: VersionPreference: reverse go and wgquick titles Signed-off-by: Jason A. Donenfeld --- .../main/java/com/wireguard/android/preference/VersionPreference.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/src/main/java/com/wireguard/android') diff --git a/ui/src/main/java/com/wireguard/android/preference/VersionPreference.java b/ui/src/main/java/com/wireguard/android/preference/VersionPreference.java index 47266fa8..9caec06a 100644 --- a/ui/src/main/java/com/wireguard/android/preference/VersionPreference.java +++ b/ui/src/main/java/com/wireguard/android/preference/VersionPreference.java @@ -43,9 +43,9 @@ public class VersionPreference extends Preference { } private String getBackendPrettyName(final Context context, final Backend backend) { - if (backend instanceof GoBackend) - return context.getString(R.string.type_name_kernel_module); if (backend instanceof WgQuickBackend) + return context.getString(R.string.type_name_kernel_module); + if (backend instanceof GoBackend) return context.getString(R.string.type_name_go_userspace); return ""; } -- cgit v1.2.3