Skip to content

Commit

Permalink
Merge pull request #10396 from AudricV/one-stream-main-player-queue-b…
Browse files Browse the repository at this point in the history
…utton

Show play queue button in main player when there is one stream
  • Loading branch information
AudricV authored Aug 31, 2023
2 parents 25cf917 + 2d16a06 commit 7c1790b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ protected void showOrHideButtons() {
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)
Expand Down

0 comments on commit 7c1790b

Please sign in to comment.