marinofaggiana 3 years ago
parent
commit
8e114a2fa1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

+ 3 - 0
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

@@ -435,6 +435,8 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
             if let ocId = userInfo["ocId"] as? String, let metadata = NCManageDatabase.shared.getMetadataFromOcId(ocId) {
                 
                 if metadata.serverUrl == serverUrl && metadata.account == appDelegate.account {
+                    pushMetadata(metadata)
+                    /*
                     if let row = dataSource.addMetadata(metadata) {
                         let indexPath = IndexPath(row: row, section: 0)
                         collectionView?.performBatchUpdates({
@@ -443,6 +445,7 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
                             self.collectionView?.reloadData()
                         })
                     }
+                    */
                 }
             }
         } else {