From 28963bb0797d7f04ac8ff5a1e12cc2c36febde2f Mon Sep 17 00:00:00 2001 From: opyale Date: Tue, 11 Aug 2020 18:32:30 +0200 Subject: [PATCH] Using language instead of country. (#647) Using language instead of country. Co-authored-by: opyale Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/647 Reviewed-by: M M Arif --- .../main/java/org/mian/gitnex/fragments/ProfileFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mian/gitnex/fragments/ProfileFragment.java b/app/src/main/java/org/mian/gitnex/fragments/ProfileFragment.java index 49a97d35..a63a0732 100644 --- a/app/src/main/java/org/mian/gitnex/fragments/ProfileFragment.java +++ b/app/src/main/java/org/mian/gitnex/fragments/ProfileFragment.java @@ -67,7 +67,7 @@ public class ProfileFragment extends Fragment { if(userLanguageCodes.length >= 2) { Locale locale = new Locale(userLanguageCodes[0], userLanguageCodes[1]); - userLanguage.setText(locale.getDisplayCountry()); + userLanguage.setText(locale.getDisplayLanguage()); } else {