diff --git a/app/src/main/java/org/openobservatory/ooniprobe/common/PreferenceManager.java b/app/src/main/java/org/openobservatory/ooniprobe/common/PreferenceManager.java index f723086ac..bc1dae392 100644 --- a/app/src/main/java/org/openobservatory/ooniprobe/common/PreferenceManager.java +++ b/app/src/main/java/org/openobservatory/ooniprobe/common/PreferenceManager.java @@ -331,7 +331,7 @@ public String getSettingsLanguage() { if (language.equals("auto")) { language = Locale.getDefault().getLanguage(); } - if (new ArrayList<>(Arrays.asList(r.getStringArray(R.array.language_sort_options_values))).contains(language)){ + if (new ArrayList<>(Arrays.asList(r.getStringArray(R.array.language_sort_options_values))).contains(language)) { return language; } return "en";