Automattic / Automattic/pocket-casts-android

OptionDialog Crashes on Configuration Changes

Open
#1,220 0 comments 0 reactions 1 assignee Claimed by @CalebKL View on GitHub
[Area] Podcast Page [Type] Enhancement
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.