Browse Source

Update library NCCommunication

Signed-off-by: marinofaggiana <marino@marinofaggiana.com>
marinofaggiana 3 năm trước cách đây
mục cha
commit
941f3086b6
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      iOSClient/Select/NCSelect.swift

+ 3 - 1
iOSClient/Select/NCSelect.swift

@@ -702,7 +702,9 @@ extension NCSelect {
         let directory = NCManageDatabase.shared.getTableDirectory(predicate: NSPredicate(format: "account == %@ AND serverUrl == %@", activeAccount.account,serverUrl))
         richWorkspaceText = directory?.richWorkspace
         
-        collectionView.reloadData()
+        DispatchQueue.main.async {
+            self.collectionView.reloadData()
+        }
     }
     
     func createFolder(with fileName: String) {