Skip to content

Commit

Permalink
Fix Atome payment
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Solovev committed Mar 12, 2024
1 parent fd2385e commit 0b0ef8a
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class AtomePaymentInputsFormController: PaymentFormController {
if let viewModel = viewModel {
bind(to: viewModel)
}

onSubmitButtonTappedClosure = onSubmitButtonHandler
}

override func updateSubmitButtonState() {
Expand All @@ -64,8 +66,6 @@ private extension AtomePaymentInputsFormController {
return
}

hideKeyboard()
startActivityIndicator()
viewModel.onSubmitButtonPressed(currentContext) { [weak self] in
self?.stopActivityIndicator()
}
Expand Down Expand Up @@ -104,7 +104,6 @@ private extension AtomePaymentInputsFormController {
input.text = viewModel.countryListViewModel.selectedCountry?.name
input.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(onCountryInputTapped)))
}

}
}

Expand Down

0 comments on commit 0b0ef8a

Please sign in to comment.