VersionPreference: reverse go and wgquick titles
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
b7b5d96b3b
commit
31ddb242a6
@ -43,9 +43,9 @@ public class VersionPreference extends Preference {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private String getBackendPrettyName(final Context context, final Backend backend) {
|
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)
|
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 context.getString(R.string.type_name_go_userspace);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user