Skip to content

Commit

Permalink
Merge pull request online-go#2733 from RubyMineshaft/gotv
Browse files Browse the repository at this point in the history
Fix bug with GoTV autoplay setting
  • Loading branch information
anoek authored Jun 25, 2024
2 parents f6a2b84 + b16b635 commit 94f35a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/GoTV/GoTV.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const GoTV = () => {
}));
updatedStreams = filterMatureStreams(updatedStreams);
setStreams(updatedStreams);
if (!selectedStream && updatedStreams.length > 0) {
if (!selectedStream && updatedStreams.length > 0 && autoplay) {
setSelectedStream(updatedStreams[0]);
}
};
Expand Down

0 comments on commit 94f35a3

Please sign in to comment.