From eaed4664c2be60ddbfaeb4b0833662832003d41d Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Sun, 2 Mar 2025 07:27:33 +0100 Subject: [PATCH] fix: show markunread if local state is unread --- src/components/ui/book-cover.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/book-cover.tsx b/src/components/ui/book-cover.tsx index e9f4ac8..6a2d8c6 100644 --- a/src/components/ui/book-cover.tsx +++ b/src/components/ui/book-cover.tsx @@ -70,7 +70,7 @@ export function BookCover({ const statusInfo = getReadingStatusInfo(book, t); const isRead = book.readProgress?.completed || false; - const hasReadProgress = book.readProgress !== null; + const hasReadProgress = book.readProgress !== null || currentPage > 0; const handleMarkAsRead = () => { onSuccess?.(book, "read");