Fix PlaylistAppendDialog: Renamed method and replaced with Runnable

This commit is contained in:
vkay94 2020-09-29 14:04:14 +02:00 committed by TobiGr
parent 2680d41a3d
commit 32a142bf79
4 changed files with 7 additions and 11 deletions

View file

@ -62,7 +62,7 @@ public enum StreamDialogEntry {
final PlaylistAppendDialog d = PlaylistAppendDialog
.fromStreamInfoItems(Collections.singletonList(item));
PlaylistAppendDialog.checkPlaylists(fragment.getContext(),
PlaylistAppendDialog.onPlaylistFound(fragment.getContext(),
() -> d.show(fragment.getFragmentManager(), "StreamDialogEntry@append_playlist"),
() -> PlaylistCreationDialog.newInstance(d)
.show(fragment.getFragmentManager(), "StreamDialogEntry@create_playlist")