We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d009289 commit e814ae1Copy full SHA for e814ae1
Signal/src/ViewControllers/OWSCountryMetadata.m
@@ -24,7 +24,7 @@ + (OWSCountryMetadata *)countryMetadataWithName:(NSString *)name
24
instance.googleDomain = googleDomain;
25
instance.countryCode = countryCode;
26
27
- NSString *localizedCountryName = [[NSLocale currentLocale] localizedStringForCountryCode:countryCode];
+ NSString *localizedCountryName = [[NSLocale currentLocale] displayNameForKey:NSLocaleCountryCode value:countryCode];
28
if (localizedCountryName.length < 1) {
29
localizedCountryName = name;
30
}
0 commit comments