Cherry-pick more fixes

This commit is contained in:
Ilya Laktyushin
2023-03-24 17:01:39 +04:00
parent c92a855083
commit 158f92cf4e
41 changed files with 468 additions and 413 deletions

View File

@@ -295,7 +295,7 @@ public final class WebSearchController: ViewController {
let throttledSearchQuery = self.searchQueryPromise.get()
|> mapToSignal { query -> Signal<String, NoError> in
if !query.isEmpty {
return (.complete() |> delay(0.6, queue: Queue.mainQueue()))
return (.complete() |> delay(1.0, queue: Queue.mainQueue()))
|> then(.single(query))
} else {
return .single(query)