-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 PlaylistAppendDialog showing when no local playlists exist #4345
Conversation
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 looking into this! The changes look mostly good. :-D
app/src/main/java/org/schabi/newpipe/local/dialog/PlaylistAppendDialog.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/local/dialog/PlaylistAppendDialog.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistManager.java
Show resolved
Hide resolved
@Stypox I pushed your recommendations to the branch. Thanks for them! (Why didn't I think about the Runnable? xD - I'm too spoiled with Kotlin's built-in lambda as parameters ^^) |
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.
Now code looks good to me, thank you again!
d93e263
to
32a142b
Compare
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.
Fixed a merge conflict
What is it?
Description of the changes in your PR
PlaylistDAO
andLocalPlaylistManager
to get an observable for checking if there is a playlistcheckPlaylists
toPlaylistAppendDialog
which gives the opportunity to react on existing playlistsFixes the following issue(s)
Testing apk
app-debug-fix-createplaylist.zip
Agreement