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/CleanAnimeList.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/src/lib/List/Anime/CleanAnimeList.svelte b/src/lib/List/Anime/CleanAnimeList.svelte
index 76701a93..23d87a97 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -169,7 +169,7 @@ const scheduleAiringRefresh = () => {
 						m.nextAiringEpisode?.airingAt && m.nextAiringEpisode.airingAt < now,
 				)
 			)
-				animeLists = cleanCache(user, $identity);
+				$revalidateAnime = $revalidateAnime + 1;
 
 			scheduleAiringRefresh();
 		},
-- 
cgit v1.2.3

