Skip to content

Commit 6b2246c

Browse files
committed
8289 Remove onCancel on followInstructions alert
1 parent 6f8bd8e commit 6b2246c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

WooCommerce/Classes/ViewModels/CardPresentPayments/CardPresentModalBuiltInFollowReaderInstructions.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ final class CardPresentModalBuiltInFollowReaderInstructions: CardPresentPayments
3939
init(name: String,
4040
amount: String,
4141
transactionType: CardPresentTransactionType,
42-
inputMethods: CardReaderInput,
43-
onCancel: @escaping () -> Void) {
42+
inputMethods: CardReaderInput) {
4443
self.name = name
4544
self.amount = amount
4645

WooCommerce/Classes/ViewRelated/Dashboard/Settings/CardReadersV2/BuiltInCardReaderPaymentAlertsProvider.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ final class BuiltInCardReaderPaymentAlertsProvider: CardReaderTransactionAlertsP
2121
return CardPresentModalBuiltInFollowReaderInstructions(name: name,
2222
amount: amount,
2323
transactionType: .collectPayment,
24-
inputMethods: inputMethods,
25-
onCancel: { })
24+
inputMethods: inputMethods)
2625
}
2726

2827
func displayReaderMessage(message: String) -> CardPresentPaymentsModalViewModel {

0 commit comments

Comments
 (0)