From 6dc472286a9c127f67a9861d9aca3b6628a76184 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Fri, 17 Sep 2021 20:04:27 -0700 Subject: [PATCH] change cache image size from 300px -> 500px --- src/components/card/Card.tsx | 2 +- src/components/viewtypes/ListViewTable.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/card/Card.tsx b/src/components/card/Card.tsx index aa26f88..ba41e4d 100644 --- a/src/components/card/Card.tsx +++ b/src/components/card/Card.tsx @@ -143,7 +143,7 @@ const Card = ({ if (cacheImages) { cacheImage( `${rest.details.cacheType}_${rest.details.id}.jpg`, - rest.coverArt.replace(/size=\d+/, 'size=350') + rest.coverArt.replace(/size=\d+/, 'size=500') ); } }} diff --git a/src/components/viewtypes/ListViewTable.tsx b/src/components/viewtypes/ListViewTable.tsx index bd470ae..10901e1 100644 --- a/src/components/viewtypes/ListViewTable.tsx +++ b/src/components/viewtypes/ListViewTable.tsx @@ -448,7 +448,7 @@ const ListViewTable = ({ }.jpg`, rowData.image.replace( /size=\d+/, - 'size=350' + 'size=500' ) ); } @@ -596,7 +596,7 @@ const ListViewTable = ({ `${cacheImages.cacheType}_${ rowData[cacheImages.cacheIdProperty] }.jpg`, - rowData.image.replace(/size=\d+/, 'size=350') + rowData.image.replace(/size=\d+/, 'size=500') ); } }}