marinofaggiana 3 years ago
parent
commit
4f16f87d93
1 changed files with 8 additions and 2 deletions
  1. 8 2
      iOSClient/Transfers/NCTransfers.swift

+ 8 - 2
iOSClient/Transfers/NCTransfers.swift

@@ -87,6 +87,12 @@ class NCTransfers: NCCollectionViewCommon, NCTransferCellDelegate  {
         reloadDataSource()
     }
     
+    override func triggerProgressTask(_ notification: NSNotification) {
+        super.triggerProgressTask(notification)
+         
+        self.collectionView.reloadData()
+    }
+    
     // MARK: TAP EVENT
     
     override func longPressMoreListItem(with objectId: String, namedButtonMore: String, gestureRecognizer: UILongPressGestureRecognizer) {
@@ -208,9 +214,9 @@ class NCTransfers: NCCollectionViewCommon, NCTransferCellDelegate  {
             cell.progressView.isHidden = false
         } else {
             cell.progressView.isHidden = true
-            cell.progressView.progress = progress
         }
-
+        cell.progressView.progress = progress
+        
         // Write status on Label Info
         switch metadata.status {
         case NCGlobal.shared.metadataStatusWaitDownload: