Browse Source

the search debouncing doesn't need to block the background thread before the first search query was executed

cyberta 3 years ago
parent
commit
c865bd12f4
1 changed files with 0 additions and 1 deletions
  1. 0 1
      deltachat-ios/ViewModel/ChatListViewModel.swift

+ 0 - 1
deltachat-ios/ViewModel/ChatListViewModel.swift

@@ -355,7 +355,6 @@ extension ChatListViewModel: UISearchResultsUpdating {
         } else {
             inBgSearch = true
             DispatchQueue.global(qos: .userInteractive).async { [weak self] in
-                usleep(100000)
                 self?.needsAnotherBgSearch = false
                 self?.filterContentForSearchText(self?.searchText ?? "")