File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed
packages/payment/ios/Sources/StripePlugin Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,11 @@ class PaymentFlowExecutor: NSObject {
4040 configuration. returnURL = returnURL
4141 }
4242
43- if #available( iOS 13 . 0 , * ) {
44- let style = call. getString ( " style " ) ?? " "
45- if style == " alwaysLight " {
46- configuration. style = . alwaysLight
47- } else if style == " alwaysDark " {
48- configuration. style = . alwaysDark
49- }
43+ let style = call. getString ( " style " ) ?? " "
44+ if style == " alwaysLight " {
45+ configuration. style = . alwaysLight
46+ } else if style == " alwaysDark " {
47+ configuration. style = . alwaysDark
5048 }
5149
5250 let applePayMerchantId = call. getString ( " applePayMerchantId " ) ?? " "
Original file line number Diff line number Diff line change @@ -40,13 +40,11 @@ class PaymentSheetExecutor: NSObject {
4040 configuration. returnURL = returnURL
4141 }
4242
43- if #available( iOS 13 . 0 , * ) {
44- let style = call. getString ( " style " ) ?? " "
45- if style == " alwaysLight " {
46- configuration. style = . alwaysLight
47- } else if style == " alwaysDark " {
48- configuration. style = . alwaysDark
49- }
43+ let style = call. getString ( " style " ) ?? " "
44+ if style == " alwaysLight " {
45+ configuration. style = . alwaysLight
46+ } else if style == " alwaysDark " {
47+ configuration. style = . alwaysDark
5048 }
5149
5250 let applePayMerchantId = call. getString ( " applePayMerchantId " ) ?? " "
You can’t perform that action at this time.
0 commit comments