소스 검색

coding

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 년 전
부모
커밋
8f0c84bcaa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

+ 1 - 1
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

@@ -594,7 +594,7 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
         let status = userInfo["status"] as? Int ?? NCGlobal.shared.metadataStatusNormal
 
         if let cell = collectionView?.cellForItem(at: indexPath) {
-            if var cell = cell as? NCCellProtocol {
+            if let cell = cell as? NCCellProtocol {
                 if progressNumber.floatValue == 1 {
                     cell.progress?.isHidden = true
                     cell.progress?.progress = .zero