Marino Faggiana 6 gadi atpakaļ
vecāks
revīzija
2e203f277f
1 mainītis faili ar 2 papildinājumiem un 4 dzēšanām
  1. 2 4
      iOSClient/Main/NCMainCommon.swift

+ 2 - 4
iOSClient/Main/NCMainCommon.swift

@@ -335,10 +335,8 @@ class NCMainCommon: NSObject {
                     image = "↑"
                     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
             }
             }
         }
         }
     }
     }