diff --git a/src/Contacts/PhoneNumberUtil.m b/src/Contacts/PhoneNumberUtil.m index 9bd8dbf5c..8fe4d5c9c 100644 --- a/src/Contacts/PhoneNumberUtil.m +++ b/src/Contacts/PhoneNumberUtil.m @@ -85,6 +85,9 @@ NSDictionary *countryCodeComponent = @{NSLocaleCountryCode : countryCode}; NSString *identifier = [NSLocale localeIdentifierFromComponents:countryCodeComponent]; NSString *country = [NSLocale.currentLocale displayNameForKey:NSLocaleIdentifier value:identifier]; + if (country.length < 1) { + country = [NSLocale.systemLocale displayNameForKey:NSLocaleIdentifier value:identifier]; + } return country; }