marinofaggiana 4 年之前
父节点
当前提交
1a0dd5bed0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Files/NCFiles.swift

+ 1 - 1
iOSClient/Files/NCFiles.swift

@@ -66,7 +66,7 @@ class NCFiles: NCCollectionViewCommon  {
     override func reloadDataSource() {
         super.reloadDataSource()
         
-        DispatchQueue.global().async {
+        DispatchQueue.global(qos: .background).async {
                         
             if !self.isSearching {
                 self.metadatasSource = NCManageDatabase.shared.getMetadatas(predicate: NSPredicate(format: "account == %@ AND serverUrl == %@", self.appDelegate.account, self.serverUrl))