marinofaggiana 3 years ago
parent
commit
7f0fb4b4fc

+ 0 - 1
Share/NCShareExtension.swift

@@ -563,7 +563,6 @@ extension NCShareExtension: UICollectionViewDataSource {
         cell.delegate = self
         
         cell.objectId = metadata.ocId
-        cell.indexPath = indexPath
         cell.labelTitle.text = metadata.fileNameView
         cell.labelTitle.textColor = NCBrandColor.shared.label
         

+ 0 - 2
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

@@ -1408,7 +1408,6 @@ extension NCCollectionViewCommon: UICollectionViewDataSource {
             cell.delegate = self
             
             cell.objectId = metadata.ocId
-            cell.indexPath = indexPath
             cell.labelTitle.text = metadata.fileNameView
             cell.labelTitle.textColor = NCBrandColor.shared.label
             cell.labelInfo.text = ""
@@ -1602,7 +1601,6 @@ extension NCCollectionViewCommon: UICollectionViewDataSource {
             cell.delegate = self
             
             cell.objectId = metadata.ocId
-            cell.indexPath = indexPath
             cell.labelTitle.text = metadata.fileNameView
             cell.labelTitle.textColor = NCBrandColor.shared.label
             

+ 0 - 1
iOSClient/Main/Collection Common/NCGridCell.swift

@@ -51,7 +51,6 @@ class NCGridCell: UICollectionViewCell, UIGestureRecognizerDelegate, NCCellProto
     
     var delegate: NCGridCellDelegate?
     var objectId = ""
-    var indexPath = IndexPath()
     var namedButtonMore = ""
     
     override func awakeFromNib() {

+ 0 - 1
iOSClient/Main/Collection Common/NCListCell.swift

@@ -61,7 +61,6 @@ class NCListCell: UICollectionViewCell, UIGestureRecognizerDelegate, NCCellProto
     
     var delegate: NCListCellDelegate?
     var objectId = ""
-    var indexPath = IndexPath()
     var namedButtonMore = ""
 
     override func awakeFromNib() {

+ 0 - 2
iOSClient/Select/NCSelect.swift

@@ -446,7 +446,6 @@ extension NCSelect: UICollectionViewDataSource {
             cell.delegate = self
             
             cell.objectId = metadata.ocId
-            cell.indexPath = indexPath
             cell.labelTitle.text = metadata.fileNameView
             cell.labelTitle.textColor = NCBrandColor.shared.label
             
@@ -567,7 +566,6 @@ extension NCSelect: UICollectionViewDataSource {
             cell.delegate = self
             
             cell.objectId = metadata.ocId
-            cell.indexPath = indexPath
             cell.labelTitle.text = metadata.fileNameView
             cell.labelTitle.textColor = NCBrandColor.shared.label
             

+ 0 - 1
iOSClient/Trash/NCTrash.swift

@@ -338,7 +338,6 @@ extension NCTrash: UICollectionViewDataSource {
             cell.delegate = self
             
             cell.objectId = tableTrash.fileId
-            cell.indexPath = indexPath
             cell.labelTitle.text = tableTrash.trashbinFileName
             cell.labelTitle.textColor = NCBrandColor.shared.label