From c630cfe85483f4f7d297cfd2df2101168c435938 Mon Sep 17 00:00:00 2001 From: nklhrstv Date: Sat, 28 Mar 2020 22:58:41 +0200 Subject: [PATCH] replace landscape poster shapes with square in Library --- src/routes/Library/useLibrary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/Library/useLibrary.js b/src/routes/Library/useLibrary.js index bd4c34d28..8ea749b4b 100644 --- a/src/routes/Library/useLibrary.js +++ b/src/routes/Library/useLibrary.js @@ -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 :