Skip to content

Commit

Permalink
Merge pull request #4069 from brave/ios-locale-custom-cal
Browse files Browse the repository at this point in the history
Use correct locale identifier when iOS user has custom calendar set
  • Loading branch information
kylehickinson authored Nov 25, 2019
2 parents b226231 + dc0895d commit a172f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/brave-ios/Ads/BATBraveAds.mm
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ + (BOOL)isNewlySupportedLocale:(NSString *)locale

+ (BOOL)isCurrentLocaleSupported
{
return [self isSupportedLocale:[NSLocale currentLocale].localeIdentifier];
return [self isSupportedLocale:[[NSLocale preferredLanguages] firstObject]];
}

BATClassAdsBridge(BOOL, isDebug, setDebug, _is_debug)
Expand Down

0 comments on commit a172f57

Please sign in to comment.