summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-09 03:21:40 -0700
committerFuwn <[email protected]>2025-09-09 03:21:40 -0700
commit58faa30c84a8695dbdee4783bb4f72c4d7ac3de4 (patch)
tree7901f8be89c03d93439bd82a6dedd743b9c1d9ac
parentfeat: Development commit (diff)
downloadsora-testing-58faa30c84a8695dbdee4783bb4f72c4d7ac3de4.tar.xz
sora-testing-58faa30c84a8695dbdee4783bb4f72c4d7ac3de4.zip
feat: Development commit
-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
- }
}
}