diff --git a/src/features/home/components/ActivityFeed.svelte b/src/features/home/components/ActivityFeed.svelte
index 3fe539f..cc1ecbc 100644
--- a/src/features/home/components/ActivityFeed.svelte
+++ b/src/features/home/components/ActivityFeed.svelte
@@ -2,19 +2,26 @@
import { Play, ArrowRight, BookOpen, Clock } from "phosphor-svelte";
import Thumbnail from "@shared/manga/Thumbnail.svelte";
import type { HistoryEntry } from "@store/state.svelte";
+ import type { Manga } from "@types";
import { timeAgo } from "../lib/homeHelpers";
let {
entries,
+ libraryManga,
onresume,
onviewhistory,
onopenlibrary,
}: {
entries: HistoryEntry[];
+ libraryManga: Manga[];
onresume: (entry: HistoryEntry) => void;
onviewhistory: () => void;
onopenlibrary: () => void;
} = $props();
+
+ function thumbFor(entry: HistoryEntry): string {
+ return libraryManga.find(m => m.id === entry.mangaId)?.thumbnailUrl ?? entry.thumbnailUrl ?? "";
+ }
@@ -31,7 +38,7 @@
{#if entries.length > 0}
{#each entries as entry (entry.chapterId)}