fix: remove mark-as-read on scroll — was marking everything read on load
.onAppear fires for all visible rows when the list renders, marking everything as read immediately. Removed — entries only mark as read when you tap into the article (handled in ArticleView). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -42,12 +42,6 @@ struct EntryListView: View {
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.contentShape(Rectangle())
|
||||
.onAppear {
|
||||
// Mark as read when scrolled into view (card mode)
|
||||
if !entry.isRead {
|
||||
Task { await vm.markAsRead(entry) }
|
||||
}
|
||||
}
|
||||
.contextMenu {
|
||||
entryContextMenu(entry: entry, vm: vm)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user