Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PaymentMethodsAdapter "new card" click handling #3476

Merged
merged 2 commits into from
Mar 17, 2021

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

Currently, tapping on "Add new card", tapping back, then tapping
"Add new card" again results in the second tap on "Add new card" not
triggering AddPaymentMethodActivity to be started.

Remove distinctUntilChanged() operator on _addPaymentMethodArgs
to fix this.

Motivation

Fixes #3453

Testing

  • Added tests
  • Modified tests
  • Manually verified

Currently, tapping on "Add new card", tapping back, then tapping
"Add new card" again results in the second tap on "Add new card" not
triggering `AddPaymentMethodActivity` to be started.

Remove `distinctUntilChanged()` operator on `_addPaymentMethodArgs`
to fix this.

Fixes #3453
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new card button doesn't work the second time.
5 participants