Skip to content

Commit

Permalink
feat: support consumerLocale in obj-c [EIT-3944]
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottAntonacAP committed Feb 29, 2024
1 parent f4b4ef0 commit 9367653
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 9367653

Please sign in to comment.