kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Merge pull request #4463 from opusforlife2/confirm_queue_delete_one_track
Ask for confirmation before clearing queue even if only 1 video in itpull/4037/head
commit
cf75e40332
|
@ -2074,8 +2074,7 @@ public class VideoDetailFragment
|
||||||
if (isClearingQueueConfirmationRequired(activity)
|
if (isClearingQueueConfirmationRequired(activity)
|
||||||
&& playerIsNotStopped()
|
&& playerIsNotStopped()
|
||||||
&& activeQueue != null
|
&& activeQueue != null
|
||||||
&& !activeQueue.equals(playQueue)
|
&& !activeQueue.equals(playQueue)) {
|
||||||
&& activeQueue.getStreams().size() > 1) {
|
|
||||||
showClearingQueueConfirmation(onAllow);
|
showClearingQueueConfirmation(onAllow);
|
||||||
} else {
|
} else {
|
||||||
onAllow.run();
|
onAllow.run();
|
||||||
|
|
Ładowanie…
Reference in New Issue