mirror of
https://codeberg.org/gitnex/GitNex
synced 2025-01-03 14:29:27 +01:00
Using language instead of country. (#647)
Using language instead of country. Co-authored-by: opyale <opyale@noreply.gitea.io> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/647 Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
This commit is contained in:
parent
87649ebae8
commit
28963bb079
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user