marinofaggiana 4 years ago
parent
commit
1a0dd5bed0
1 changed files with 1 additions and 1 deletions
  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))