Marino Faggiana 6 ani în urmă
părinte
comite
2e203f277f
1 a modificat fișierele cu 2 adăugiri și 4 ștergeri
  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
             }
         }
     }