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