فهرست منبع

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

cyberta 3 سال پیش
والد
کامیت
c865bd12f4
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  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 ?? "")