summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Sora/Views/Post/Details/PostDetailsTagsView.swift17
1 files changed, 0 insertions, 17 deletions
diff --git a/Sora/Views/Post/Details/PostDetailsTagsView.swift b/Sora/Views/Post/Details/PostDetailsTagsView.swift
index b99b124..8eac11a 100644
--- a/Sora/Views/Post/Details/PostDetailsTagsView.swift
+++ b/Sora/Views/Post/Details/PostDetailsTagsView.swift
@@ -86,23 +86,6 @@ struct PostDetailsTagsView: View {
private func navigateToTagInMainStack(_ tag: String) {
navigationPath.append(tag)
-
- let query = BooruSearchQuery(
- provider: settings.preferredBooru,
- tags: [tag]
- )
-
- settings.appendToSearchHistory(query)
-
- if manager.searchHistory.last?.tags != [tag] {
- if manager.historyIndex < manager.searchHistory.count - 1 {
- manager.searchHistory = Array(manager.searchHistory[0...manager.historyIndex])
- }
-
- manager.searchHistory.append(query)
-
- manager.historyIndex = manager.searchHistory.count - 1
- }
}
}