marinofaggiana 4 년 전
부모
커밋
addfe9d25f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 }
             }
         }