瀏覽代碼

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
         }
     }