mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Reduce progressive search delay
// FREEBIE
This commit is contained in:
parent
a08bd0980c
commit
ad8c1db689
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ class GifPickerViewController: OWSViewController, UISearchBarDelegate, UICollect
|
|||
// Do progressive search after a delay.
|
||||
progressiveSearchTimer?.invalidate()
|
||||
progressiveSearchTimer = nil
|
||||
let kProgressiveSearchDelaySeconds = 2.0
|
||||
let kProgressiveSearchDelaySeconds = 1.0
|
||||
progressiveSearchTimer = WeakTimer.scheduledTimer(timeInterval: kProgressiveSearchDelaySeconds, target: self, userInfo: nil, repeats: true) { [weak self] _ in
|
||||
guard let strongSelf = self else {
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue