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.
2 parents d009289 + e814ae1 commit b7307ecCopy full SHA for b7307ec
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