Explorar el Código

undo removal of usleep

cyberta hace 3 años
padre
commit
37c67e1e90
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 ?? "")