소스 검색

Improved GUI deleted files

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 년 전
부모
커밋
3a0301855f
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      iOSClient/Trash/Cell/NCTrashListCell+NCTrashCellProtocol.swift

+ 4 - 0
iOSClient/Trash/Cell/NCTrashListCell+NCTrashCellProtocol.swift

@@ -87,12 +87,16 @@ class NCTrashListCell: UICollectionViewCell, NCTrashCellProtocol {
             imageItemLeftConstraint.constant = 45
             imageSelect.isHidden = false
             imageRestore.isHidden = true
+            buttonRestore.isHidden = true
             imageMore.isHidden = true
+            buttonMore.isHidden = true
         } else {
             imageItemLeftConstraint.constant = 10
             imageSelect.isHidden = true
             imageRestore.isHidden = false
+            buttonRestore.isHidden = false
             imageMore.isHidden = false
+            buttonMore.isHidden = false
             backgroundView = nil
         }
     }