mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-08-30 22:25:16 +00:00
Show play queue button in main player when there is one stream
This commit is contained in:
@@ -434,7 +434,7 @@ public final class MainPlayerUi extends VideoPlayerUi implements View.OnLayoutCh
|
||||
return;
|
||||
}
|
||||
|
||||
final boolean showQueue = playQueue.getStreams().size() > 1;
|
||||
final boolean showQueue = !playQueue.getStreams().isEmpty();
|
||||
final boolean showSegment = !player.getCurrentStreamInfo()
|
||||
.map(StreamInfo::getStreamSegments)
|
||||
.map(List::isEmpty)
|
||||
|
Reference in New Issue
Block a user