marinofaggiana 4 years ago
parent
commit
addfe9d25f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Main/Collection/NCCollectionViewCommon.swift

+ 1 - 1
iOSClient/Main/Collection/NCCollectionViewCommon.swift

@@ -717,7 +717,7 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
                     print("error")
                 }
             } else {
-                NotificationCenter.default.postOnMainThread(name: k_notificationCenter_downloadedFile, userInfo: ["metadata": metadata, "selector": selectorLoadCopy, "errorCode": 0, "errorDescription": "" ])
+                NCNetworking.shared.download(metadata: metadata, selector: selectorLoadCopy, setFavorite: false) { (_) in }
             }
         }