Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit d7627b3

Browse files
SD10rnystrom
authored andcommitted
Only save selections as recent searches (#1568)
1 parent 803f9e2 commit d7627b3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Classes/Search/SearchViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ SearchResultSectionControllerDelegate {
126126
func search(term: String) {
127127
let query: SearchQuery = .search(term)
128128
guard canSearch(query: query) else { return }
129-
recentStore.add(query)
130129

131130
let request = client.search(query: term, containerWidth: view.bounds.width) { [weak self] resultType in
132131
guard let state = self?.state, case .loading = state else { return }

0 commit comments

Comments
 (0)