Marino Faggiana %!s(int64=6) %!d(string=hai) anos
pai
achega
2e203f277f
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  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
             }
         }
     }