marinofaggiana %!s(int64=4) %!d(string=hai) anos
pai
achega
e76fc43101
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      iOSClient/Main/NCCollectionViewCommon.swift

+ 5 - 0
iOSClient/Main/NCCollectionViewCommon.swift

@@ -1179,6 +1179,11 @@ extension NCCollectionViewCommon: UICollectionViewDelegate {
             
         } else {
             
+            if metadata.typeFile == k_metadataTypeFile_video {
+                performSegue(withIdentifier: "segueDetail", sender: self)
+                return
+            }
+            
             if metadata.typeFile == k_metadataTypeFile_document && NCUtility.shared.isDirectEditing(account: metadata.account, contentType: metadata.contentType) != nil {
                 if NCCommunication.shared.isNetworkReachable() {
                     performSegue(withIdentifier: "segueDetail", sender: self)