From 5379e8e8d7595256266c480e09064cf9afd312aa Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Thu, 21 May 2026 13:14:13 +0000
Subject: fix(lists): cross-trigger Upcoming and Due refresh on airing/interval

Countdown timeout in CleanAnimeList and keyCacher interval in
DueAnimeList only reassigned their own animeLists, so an episode
airing on Upcoming never propagated to Due (and vice versa) until
a manual refresh. Bump revalidateAnime instead, so both panels
refresh through the shared reactive path.
---
 src/lib/List/Anime/DueAnimeList.svelte | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

(limited to 'src/lib/List/Anime/DueAnimeList.svelte')

diff --git a/src/lib/List/Anime/DueAnimeList.svelte b/src/lib/List/Anime/DueAnimeList.svelte
index d2c47ebe..29af4a88 100644
--- a/src/lib/List/Anime/DueAnimeList.svelte
+++ b/src/lib/List/Anime/DueAnimeList.svelte
@@ -31,19 +31,7 @@ const restartKeyCacher = (cacheMinutes: number) => {
 	keyCacheMinutes = cacheMinutes;
 	keyCacher = setInterval(
 		() => {
-			startTime = performance.now();
-			endTime = -1;
-			animeLists = mediaListCollection(
-				user,
-				$identity,
-				Type.Anime,
-				$anime,
-				$lastPruneTimes.anime,
-				{
-					forcePrune: true,
-					addNotification,
-				},
-			);
+			$revalidateAnime = $revalidateAnime + 1;
 		},
 		cacheMinutes * 1000 * 60,
 	);
-- 
cgit v1.2.3

