summaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-09 14:48:02 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-09 14:48:02 -0600
commit31ddb242a648395a16654526371ec51f5cf790e8 (patch)
tree2feda25715aeb86a5b862b038daa8985d7dddd4b /ui
parentb7b5d96b3bfd966c4154b72fa6ce69d34ec3c64c (diff)
VersionPreference: reverse go and wgquick titles
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/src/main/java/com/wireguard/android/preference/VersionPreference.java4
1 files changed, 2 insertions, 2 deletions
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 "";
}