Marino Faggiana 6 years ago
parent
commit
2e203f277f
1 changed files with 2 additions and 4 deletions
  1. 2 4
      iOSClient/Main/NCMainCommon.swift

+ 2 - 4
iOSClient/Main/NCMainCommon.swift

@@ -335,10 +335,8 @@ class NCMainCommon: NSObject {
                     image = "↑"
                 }
                 
-                if cell.labelInfoFile != nil && cell.transferButton != nil {
-                    cell.labelInfoFile.text = CCUtility.transformedSize(totalBytesExpected) + " - " + image + CCUtility.transformedSize(totalBytes)
-                    cell.transferButton.progress = progress
-                }
+                cell.labelInfoFile.text = CCUtility.transformedSize(totalBytesExpected) + " - " + image + CCUtility.transformedSize(totalBytes)
+                cell.transferButton.progress = progress
             }
         }
     }