Browse Source

undo removal of usleep

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

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

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