mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
filter landscape poster shapes from continue watching preview
This commit is contained in:
parent
c2c1f0dc3f
commit
11d9cf6073
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ const mapContinueWatchingPreviewState = (continue_watching_preview) => {
|
|||
type: lib_item.type,
|
||||
name: lib_item.name,
|
||||
poster: lib_item.poster,
|
||||
posterShape: lib_item.posterShape,
|
||||
posterShape: lib_item.posterShape === 'landscape' ? 'square' : lib_item.posterShape,
|
||||
videoId: lib_item.state.video_id,
|
||||
progress: lib_item.state.timeOffset > 0 && lib_item.state.duration > 0 ?
|
||||
lib_item.state.timeOffset / lib_item.state.duration
|
||||
|
|
|
|||
Loading…
Reference in a new issue