瀏覽代碼

Update NCSharePaging.swift

Marino Faggiana 1 年之前
父節點
當前提交
b097e92aae
共有 1 個文件被更改,包括 0 次插入9 次删除
  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 {