Skip to content

Commit

Permalink
Merge pull request #259 from afterpay/feature/add-support-for-consume…
Browse files Browse the repository at this point in the history
…r-locale-obj-c-EIT-3944

feat: support consumerLocale in obj-c [EIT-3944]
  • Loading branch information
ScottAntonacAP authored Feb 29, 2024
2 parents f4b4ef0 + 9367653 commit ed91b32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/Afterpay/Wrappers/ObjcWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public final class ObjcWrapper: NSObject {
currencyCode: String,
locale: Locale,
environment: String,
consumerLocale: Locale,
error: UnsafeMutablePointer<NSError>
) {
let environment = Environment(rawValue: environment) ?? .production
Expand All @@ -155,7 +156,8 @@ public final class ObjcWrapper: NSObject {
maximumAmount: maximumAmount,
currencyCode: currencyCode,
locale: locale,
environment: environment)
environment: environment,
consumerLocale: consumerLocale)
}

switch result {
Expand Down

0 comments on commit ed91b32

Please sign in to comment.