Browse Source

Improved GUI deleted files

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 years ago
parent
commit
3a0301855f
1 changed files with 4 additions and 0 deletions
  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
         }
     }