mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-10 17:30:31 +00:00
Merge pull request #4463 from opusforlife2/confirm_queue_delete_one_track
Ask for confirmation before clearing queue even if only 1 video in it
This commit is contained in:
commit
cf75e40332
@ -2074,8 +2074,7 @@ public class VideoDetailFragment
|
||||
if (isClearingQueueConfirmationRequired(activity)
|
||||
&& playerIsNotStopped()
|
||||
&& activeQueue != null
|
||||
&& !activeQueue.equals(playQueue)
|
||||
&& activeQueue.getStreams().size() > 1) {
|
||||
&& !activeQueue.equals(playQueue)) {
|
||||
showClearingQueueConfirmation(onAllow);
|
||||
} else {
|
||||
onAllow.run();
|
||||
|
Loading…
Reference in New Issue
Block a user