mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Tor settings: Address review comments
This commit is contained in:
@@ -314,7 +314,7 @@ public class SettingsFragment extends PreferenceFragmentCompat
|
||||
|
||||
// Look up country name in the user's chosen language if available
|
||||
String country = locationUtils.getCurrentCountry();
|
||||
String countryName = getString(R.string.tor_network_country_unknown);
|
||||
String countryName = country;
|
||||
for (Locale locale : Locale.getAvailableLocales()) {
|
||||
if (locale.getCountry().equalsIgnoreCase(country)) {
|
||||
countryName = locale.getDisplayCountry();
|
||||
|
||||
Reference in New Issue
Block a user