VersionPreference: reverse go and wgquick titles

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2020-03-09 14:48:02 -06:00
parent b7b5d96b3b
commit 31ddb242a6

View File

@ -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 "";
}