From 23ea89652445cef72b8c683642cd811e31ab1a6a Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Wed, 8 May 2024 18:59:01 +0200 Subject: [PATCH] Show "ContinueReadButton" on in library --- src/components/MangaCard.tsx | 3 ++- src/components/manga/MangaCard.types.tsx | 2 +- src/screens/settings/LibraryDuplicates.tsx | 8 +++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/MangaCard.tsx b/src/components/MangaCard.tsx index ab218361..03973238 100644 --- a/src/components/MangaCard.tsx +++ b/src/components/MangaCard.tsx @@ -29,6 +29,7 @@ const getMangaLinkTo = ( switch (mode) { case 'default': case 'source': + case 'duplicate': return `/manga/${mangaId}/`; case 'migrate.search': return `/migrate/source/${sourceId}/manga/${mangaId}/search?query=${mangaTitle}`; @@ -106,7 +107,7 @@ export const MangaCard = (props: MangaCardProps) => { const continueReadingButton = useMemo( () => ( { )} itemContent={(index) => ( - + )} /> @@ -190,6 +195,7 @@ export const LibraryDuplicates = () => { isLoading={false} gridLayout={gridLayout} horizontal + mode="duplicate" /> ));