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:
opyale 2020-08-11 18:32:30 +02:00 committed by M M Arif
parent 87649ebae8
commit 28963bb079

View File

@ -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 {