mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-04 11:53:47 +00:00
[ios] skip search query duplications for history
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
648fb55130
commit
9fb3a509dc
@@ -81,7 +81,9 @@ final class SearchOnMapInteractor: NSObject {
|
||||
|
||||
private func processSelectedText(_ query: SearchQuery) -> SearchOnMap.Response {
|
||||
isUpdatesDisabled = false
|
||||
searchManager.save(query)
|
||||
if query.source != .history {
|
||||
searchManager.save(query)
|
||||
}
|
||||
searchManager.searchQuery(query)
|
||||
showResultsOnMap = true
|
||||
return .selectQuery(query)
|
||||
|
||||
Reference in New Issue
Block a user