From b3555385e63d6414b65cb2be8b3a47fa16a3c5d2 Mon Sep 17 00:00:00 2001 From: opusforlife2 <53176348+opusforlife2@users.noreply.github.com> Date: Fri, 9 Oct 2020 14:46:42 +0000 Subject: [PATCH] Ask for confirmation before clearing queue... Even when there is only one video in it. --- .../schabi/newpipe/fragments/detail/VideoDetailFragment.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java index 28a67173b..f7b6c5cb5 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java @@ -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();