Fix button enable/disable on filling out card params (#2605)
This commit is contained in:
parent
4e842285b1
commit
bf179e409c
|
@ -246,7 +246,8 @@ class CustomerSavedPaymentMethodsViewController: UIViewController {
|
|||
showActionButton = false
|
||||
}
|
||||
case .addingNewPaymentMethodAttachToCustomer, .addingNewWithSetupIntent:
|
||||
self.actionButton.isHidden = false
|
||||
self.actionButton.setHiddenIfNecessary(false)
|
||||
actionButtonStatus = addPaymentMethodViewController.paymentOption == nil ? .disabled : .enabled
|
||||
}
|
||||
|
||||
if processingInFlight {
|
||||
|
|
Loading…
Reference in New Issue