mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
replace landscape poster shapes with square in Library
This commit is contained in:
parent
979926ab05
commit
c630cfe854
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ const mapLibraryState = (library) => {
|
|||
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,
|
||||
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