stripe-android
stripe-android copied to clipboard
Reset edit state when screen changes
Summary
Reset edit state when screen changes
Motivation
Vertical mode bug bash feedback: here
Specifically, fixes an issue where the "edit" state on the manage screen is persisted across screens. It should be reset after you leave the manage screen.
Testing
- [X] Added tests
- [ ] Modified tests
- [X] Manually verified
Screenshots
Before:
https://github.com/user-attachments/assets/f8a418e2-291b-452b-89ed-ac8898c81d34
After:
https://github.com/user-attachments/assets/a0db6c1d-3bb9-4610-bb7a-4de14da21775