| Index: ios/chrome/browser/ui/payments/payment_method_selection_coordinator.mm
|
| diff --git a/ios/chrome/browser/ui/payments/payment_method_selection_coordinator.mm b/ios/chrome/browser/ui/payments/payment_method_selection_coordinator.mm
|
| index 30b10ff2d289a9e8936b5d6dde28326f4362ffa8..b3a15081a4dde6627789a1683b936b39488f06e6 100644
|
| --- a/ios/chrome/browser/ui/payments/payment_method_selection_coordinator.mm
|
| +++ b/ios/chrome/browser/ui/payments/payment_method_selection_coordinator.mm
|
| @@ -125,7 +125,7 @@ const int64_t kDelegateNotificationDelayInNanoSeconds = 0.2 * NSEC_PER_SEC;
|
| [self.creditCardEditCoordinator stop];
|
| self.creditCardEditCoordinator = nil;
|
|
|
| - if (self.mediator.state != PaymentRequestSelectorStateEdit) {
|
| + if (![self.viewController isEditing]) {
|
| // Inform |self.delegate| that this card has been selected.
|
| [self.delegate paymentMethodSelectionCoordinator:self
|
| didSelectPaymentMethod:creditCard];
|
|
|