From fd849d7e0a868d5b9f85ca048f2668d508c77fc4 Mon Sep 17 00:00:00 2001 From: Norbel AMBANUMBEN Date: Mon, 27 Nov 2023 07:31:19 +0100 Subject: [PATCH] Update app/src/main/java/org/openobservatory/ooniprobe/common/PreferenceManager.java Co-authored-by: Simone Basso --- .../org/openobservatory/ooniprobe/common/PreferenceManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";