mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-06-26 15:13:00 +00:00
Ask for confirmation before clearing queue...
Even when there is only one video in it.
This commit is contained in:
parent
bc342b9b33
commit
b3555385e6
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user