Skip to content

Commit 2d16a06

Browse files
committed
Show play queue button in main player when there is one stream
1 parent 25cf917 commit 2d16a06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/player/ui/MainPlayerUi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ protected void showOrHideButtons() {
434434
return;
435435
}
436436

437-
final boolean showQueue = playQueue.getStreams().size() > 1;
437+
final boolean showQueue = !playQueue.getStreams().isEmpty();
438438
final boolean showSegment = !player.getCurrentStreamInfo()
439439
.map(StreamInfo::getStreamSegments)
440440
.map(List::isEmpty)

0 commit comments

Comments
 (0)