diff options
| author | Fuwn <[email protected]> | 2025-06-15 00:24:53 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-15 00:24:53 -0700 |
| commit | e9dd62b09274aebe68f2f5d58221946c3e21dd36 (patch) | |
| tree | 12c2e2632bd17136af2d2ee2b92fc607ca963f62 /Sora/Views/Generic/GenericListView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-e9dd62b09274aebe68f2f5d58221946c3e21dd36.tar.xz sora-testing-e9dd62b09274aebe68f2f5d58221946c3e21dd36.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Generic/GenericListView.swift')
| -rw-r--r-- | Sora/Views/Generic/GenericListView.swift | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Sora/Views/Generic/GenericListView.swift b/Sora/Views/Generic/GenericListView.swift index f01d3ee..20fcea8 100644 --- a/Sora/Views/Generic/GenericListView.swift +++ b/Sora/Views/Generic/GenericListView.swift @@ -253,8 +253,10 @@ struct GenericListView<T: Identifiable & Hashable & GenericItem>: View { // swi manager.performSearch(settings: settings) } - settings.incrementBookmarkVisitCount(withID: item.id) - settings.updateBookmarkLastVisit(withID: item.id) + if !allowBookmarking { + settings.incrementBookmarkVisitCount(withID: item.id) + settings.updateBookmarkLastVisit(withID: item.id) + } isPresented.toggle() }) { |