소스 검색

undo removal of usleep

cyberta 3 년 전
부모
커밋
37c67e1e90
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      deltachat-ios/ViewModel/ChatListViewModel.swift

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

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