Automattic / Automattic/pocket-casts-android
OptionDialog Crashes on Configuration Changes
- Dominant language
- Kotlin
- Stars
- 2.8k
- Forks
- 308
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 143
Description
### Description
The ` optionDialog ` doesn't display as intended when there's a configuration change.
If you change the screen orientation, the dialog crashes.
### Step-by-step reproduction instructions
1. Go to Discover
2. Click any podcast
3. Go the the episodes
4. Long press one episode
5. long press the selected episode to trigger the `optionDialog`
6. Change screen orientation
7. Observe the changes,
8. Go back to the previous orientation
9. Observe the changes again
### Screenshots or screen recording
https://github.com/Automattic/pocket-casts-android/assets/95022986/7260fdb5-4acd-47c6-9e93-ba175d09b0f3
### Did you search for existing bug reports?
- [X] I have searched for existing bug reports.
### Device, Operating system, and Pocket Casts app version
Samsung Galaxy S22+, Android 13.
Tested on debug builds 7.44-rc-2 and release 7.43
Contributor guide
Assessment
This issue has not been assessed yet.