We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfc46c3 commit f4a5b3bCopy full SHA for f4a5b3b
1 file changed
app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java
@@ -1666,8 +1666,9 @@ public void handleResult(@NonNull final StreamInfo info) {
1666
1667
binding.detailControlsDownload.setVisibility(
1668
StreamTypeUtil.isLiveStream(info.getStreamType()) ? View.GONE : View.VISIBLE);
1669
- binding.detailControlsBackground.setVisibility(info.getAudioStreams().isEmpty()
1670
- ? View.GONE : View.VISIBLE);
+ binding.detailControlsBackground.setVisibility(
+ info.getAudioStreams().isEmpty() && info.getVideoStreams().isEmpty()
1671
+ ? View.GONE : View.VISIBLE);
1672
1673
final boolean noVideoStreams =
1674
info.getVideoStreams().isEmpty() && info.getVideoOnlyStreams().isEmpty();
0 commit comments