Просмотр исходного кода

Improved GUI deleted files

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 лет назад
Родитель
Сommit
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
         }
     }