Skip to content

Commit

Permalink
fix: skip marking unread for specific conditions
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jul 6, 2024
1 parent a4e6709 commit 762085b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/src/modules/entry-column/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export function EntryColumn() {

useEffect(() => {
if (!feedId || !activeEntryId) return
if (activeEntryId === ROUTE_ENTRY_PENDING || feedId === FEED_COLLECTION_LIST || feedId === ROUTE_FEED_PENDING) return

batchMarkUnread([feedId, activeEntryId])
}, [activeEntry, activeEntryId, feedId])
Expand Down

0 comments on commit 762085b

Please sign in to comment.