fixed a download dialog issue

this would occur if you don't have the video automatically playing before attempting to download it
This commit is contained in:
polymorphicshade 2021-02-20 22:08:17 -07:00
parent 9b1111b7eb
commit ea39cb868f

View file

@ -1640,7 +1640,7 @@ public final class VideoDetailFragment
downloadDialog.setAudioStreams(currentInfo.getAudioStreams());
downloadDialog.setSelectedVideoStream(selectedVideoStreamIndex);
downloadDialog.setSubtitleStreams(currentInfo.getSubtitles());
downloadDialog.setVideoSegments(player.getVideoSegments());
downloadDialog.setVideoSegments(videoSegments);
downloadDialog.show(activity.getSupportFragmentManager(), "downloadDialog");
} catch (final Exception e) {