Bläddra i källkod

Update NCSharePaging.swift

Marino Faggiana 1 år sedan
förälder
incheckning
b097e92aae
1 ändrade filer med 0 tillägg och 9 borttagningar
  1. 0 9
      iOSClient/Share/NCSharePaging.swift

+ 0 - 9
iOSClient/Share/NCSharePaging.swift

@@ -233,15 +233,6 @@ class NCShareHeaderViewController: PagingViewController {
             metadata: metadata
         )
     }
-
-    override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
-        /*
-        guard NCBrandOptions.NCInfoPagingIndex(rawValue: indexPath.item) != .activity || activityEnabled,
-              NCBrandOptions.NCInfoPagingIndex(rawValue: indexPath.item) != .sharing || sharingEnabled
-        else { return }
-        */
-        super.collectionView(collectionView, didSelectItemAt: indexPath)
-    }
 }
 
 class NCSharePagingView: PagingView {