Skip to content

Commit

Permalink
fix(videodetail): prevent play behind paywall
Browse files Browse the repository at this point in the history
  • Loading branch information
royschut committed Aug 4, 2021
1 parent b587def commit bcbc3ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/screens/Movie/Movie.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const Movie = ({ match, location }: RouteComponentProps<MovieRouteParams>): JSX.
item={item}
feedId={feedId ?? undefined}
trailerItem={trailerItem}
play={play}
play={play && allowedToWatch}
allowedToWatch={allowedToWatch}
startWatchingLabel={formatStartWatchingLabel()}
onStartWatchingClick={handleStartWatchingClick}
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Series/Series.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const Series = ({ match, location }: RouteComponentProps<SeriesRouteParams>): JS
item={item}
feedId={feedId ?? undefined}
trailerItem={trailerItem}
play={play}
play={play && allowedToWatch}
allowedToWatch={allowedToWatch}
progress={progress}
startWatchingLabel={formatStartWatchingLabel()}
Expand Down

0 comments on commit bcbc3ba

Please sign in to comment.