diff options
Diffstat (limited to 'Sora/Views/Generic')
| -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() }) { |