Skip to content

Commit

Permalink
fix: replace use of capitalizedString with uppercaseString for correc…
Browse files Browse the repository at this point in the history
…t case transformation
  • Loading branch information
adotkhan committed Jan 28, 2025
1 parent ba6bf22 commit ed9d883
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 ed9d883

Please sign in to comment.