Explorar o código

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

cyberta %!s(int64=3) %!d(string=hai) anos
pai
achega
c865bd12f4
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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 ?? "")