1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-14 12:50:33 +01:00

Ask for confirmation before clearing queue...

Even when there is only one video in it.
This commit is contained in:
opusforlife2 2020-10-09 14:46:42 +00:00 committed by GitHub
parent bc342b9b33
commit b3555385e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();