marinofaggiana 4 жил өмнө
parent
commit
1a0dd5bed0

+ 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))