-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 related items list enqueue popup crash #11614
Fix related items list enqueue popup crash #11614
Conversation
…-change Fix Crash on Related Items Modal
I pulled these changes to a test branch for a debug apk for the users to test the changes as build failed due to JitPack problems not related to this PR. Here is the apk created from actions to test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR!
The code looks good and is well documented 👍
I have a small suggestions which is more about readability and maintainability.
app/src/main/java/org/schabi/newpipe/fragments/list/videos/RelatedItemsFragment.java
Outdated
Show resolved
Hide resolved
…atedItemsFragment.java Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
Quality Gate passedIssues Measures |
What is it?
Description of the changes in your PR
InfoItemDialog
popup modal for theRelatedItemsFragment
to be attached to the parent context of theRelatedItemsFragment
. This prevents the popup from not being attached a context when the player automatically changes to the next video and theRelatedItemsFragment
is re-initialized.Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.
Due diligence