Skip to content

Commit

Permalink
NMC 2373 - Selection hidden for E2EFolders in List and Grid mode
Browse files Browse the repository at this point in the history
  • Loading branch information
TSI-shwetawaikar committed Jul 6, 2023
1 parent 8f4d41e commit dfca8f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iOSClient/Main/Collection Common/NCGridCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class NCGridCell: UICollectionViewCell, UIGestureRecognizerDelegate, NCCellProto
}

func selected(_ status: Bool) {
guard let metadata = NCManageDatabase.shared.getMetadataFromOcId(objectId), !metadata.isDownloadUpload else {
guard let metadata = NCManageDatabase.shared.getMetadataFromOcId(objectId), !metadata.isDownloadUpload, !metadata.e2eEncrypted else {
imageSelect.isHidden = true
imageVisualEffect.isHidden = true
return
Expand Down
2 changes: 1 addition & 1 deletion iOSClient/Main/Collection Common/NCListCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class NCListCell: UICollectionViewCell, UIGestureRecognizerDelegate, NCCellProto
}

func selected(_ status: Bool) {
guard let metadata = NCManageDatabase.shared.getMetadataFromOcId(objectId), !metadata.isDownloadUpload else {
guard let metadata = NCManageDatabase.shared.getMetadataFromOcId(objectId), !metadata.isDownloadUpload, !metadata.e2eEncrypted else {
backgroundView = nil
separator.isHidden = false
return
Expand Down

0 comments on commit dfca8f9

Please sign in to comment.