From 669115227593f51a49415da7587481ccc63c48b0 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Sat, 28 Mar 2026 05:49:07 +0000
Subject: fix(cache): respect AniList media list recache windows

---
 src/lib/List/Anime/DueAnimeList.svelte | 2 ++
 1 file changed, 2 insertions(+)

(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 e170a81e..2c707ffb 100644
--- a/src/lib/List/Anime/DueAnimeList.svelte
+++ b/src/lib/List/Anime/DueAnimeList.svelte
@@ -1,5 +1,6 @@
 <script lang="ts">
 import { mediaListCollection, Type, type Media } from "$lib/Data/AniList/media";
+import { hydrateMediaListCache } from "$lib/Data/AniList/cacheHydration";
 import type { AniListAuthorisation } from "$lib/Data/AniList/identity";
 import { onDestroy, onMount } from "svelte";
 import anime from "$stores/anime";
@@ -48,6 +49,7 @@ const restartKeyCacher = (cacheMinutes: number) => {
 };
 
 onMount(async () => {
+	await hydrateMediaListCache("anime");
 	restartKeyCacher($settings.cacheMinutes);
 
 	startTime = performance.now();
-- 
cgit v1.2.3

