mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-26 16:04:07 +08: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) {
|
if(userLanguageCodes.length >= 2) {
|
||||||
|
|
||||||
Locale locale = new Locale(userLanguageCodes[0], userLanguageCodes[1]);
|
Locale locale = new Locale(userLanguageCodes[0], userLanguageCodes[1]);
|
||||||
userLanguage.setText(locale.getDisplayCountry());
|
userLanguage.setText(locale.getDisplayLanguage());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user