From 84ed9e26cdeb7e02684f019ca7d07fef5286351e Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 22 Aug 2024 04:36:48 -0700
Subject: feat(settings): data saver

---
 src/lib/Tools/SequelSpy.svelte | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/lib/Tools/SequelSpy.svelte')

diff --git a/src/lib/Tools/SequelSpy.svelte b/src/lib/Tools/SequelSpy.svelte
index d9637efe..28db4466 100644
--- a/src/lib/Tools/SequelSpy.svelte
+++ b/src/lib/Tools/SequelSpy.svelte
@@ -62,7 +62,11 @@
 				{#each currentPrequels.sort((a, b) => new Date(a.startDate.year, a.startDate.month - 1, a.startDate.day).getTime() - new Date(b.startDate.year, b.startDate.month - 1, b.startDate.day).getTime()) as prequel}
 					<li id={`${prequel.id}`}>
 						<LinkedTooltip
-							content={`<img src="${prequel.coverImage.extraLarge}" style="width: 250px; object-fit: cover; border-radius: 8px;" />`}
+							content={`<img src="${
+								$settings.displayDataSaver
+									? prequel.coverImage.medium
+									: prequel.coverImage.extraLarge
+							}" style="width: 250px; object-fit: cover; border-radius: 8px;" />`}
 							pin={`${prequel.id}`}
 							pinPosition="top"
 							disable={!$settings.displayHoverCover}
-- 
cgit v1.2.3

