mirror of
https://github.com/gitnex-org/gitnex.git
synced 2026-07-20 20:43:31 -05: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:
committed by
M M Arif
co-authored by
opyale
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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user