Skip to content

Commit

Permalink
Fix app crash when downloading novel entry if it is on the recent upd…
Browse files Browse the repository at this point in the history
…ates page (#1395)
  • Loading branch information
Soopyboo32 authored Jan 20, 2025
1 parent 6599883 commit c61c4d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/screens/updates/components/UpdateNovelCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const UpdateNovelCard: React.FC<UpdateCardProps> = ({
<ChapterItem
isLocal={false}
isDownloading={downloadQueue.some(
c => c.data.chapterId === item.id,
c => c.task.data.chapterId === item.id,
)}
isUpdateCard
novelName={chapterList[0].novelName}
Expand Down Expand Up @@ -142,7 +142,7 @@ const UpdateNovelCard: React.FC<UpdateCardProps> = ({
<ChapterItem
isLocal={false}
isDownloading={downloadQueue.some(
c => c.data.chapterId === chapterList[0].id,
c => c.task.data.chapterId === chapterList[0].id,
)}
isUpdateCard
novelName={chapterList[0].novelName}
Expand Down

0 comments on commit c61c4d0

Please sign in to comment.