Show play queue button in main player when there is one stream
This commit is contained in:
parent
25cf917969
commit
2d16a06bc4
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ public final class MainPlayerUi extends VideoPlayerUi implements View.OnLayoutCh
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean showQueue = playQueue.getStreams().size() > 1;
|
final boolean showQueue = !playQueue.getStreams().isEmpty();
|
||||||
final boolean showSegment = !player.getCurrentStreamInfo()
|
final boolean showSegment = !player.getCurrentStreamInfo()
|
||||||
.map(StreamInfo::getStreamSegments)
|
.map(StreamInfo::getStreamSegments)
|
||||||
.map(List::isEmpty)
|
.map(List::isEmpty)
|
||||||
|
|
Loading…
Reference in a new issue