Skip to content

Commit

Permalink
Merge pull request #720 from adotkhan/device-region
Browse files Browse the repository at this point in the history
fix: replace use of capitalizedString with uppercaseString for correc…
  • Loading branch information
rod-hynes authored Jan 28, 2025
2 parents ba6bf22 + ed9d883 commit b227fce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,7 @@ + (NSString * _Nonnull)getDeviceRegion {
// CTCarrier deprecated with no replacement as of iOS 16 so there is no alternative API to
// get the carrier country code; [CTCarrier isoCountryCode] returns @"--" on iOS >=16.

return [[[CNContactsUserDefaults sharedDefaults] countryCode] capitalizedString];
return [[[CNContactsUserDefaults sharedDefaults] countryCode] uppercaseString];

} else {
CTTelephonyNetworkInfo *networkInfo = nil;
Expand Down

0 comments on commit b227fce

Please sign in to comment.