marinofaggiana 5 년 전
부모
커밋
b248c9aa6c
1개의 변경된 파일1개의 추가작업 그리고 13개의 파일을 삭제
  1. 1 13
      iOSClient/Main/NCDetailViewController.swift

+ 1 - 13
iOSClient/Main/NCDetailViewController.swift

@@ -457,19 +457,7 @@ class NCDetailViewController: UIViewController {
             viewImage()
             return
         }
-        
-        /*
-        // DOCUMENT - INTERNAL VIEWER
-        if metadata.typeFile == k_metadataTypeFile_document && selector != nil && selector == selectorLoadFileInternalView {
-            
-            let frame = CGRect(x: 0, y: 0, width: self.backgroundView.frame.width, height: self.backgroundView.frame.height)
-            let viewerDocumentWeb = NCViewerDocumentWeb.init(frame: frame, configuration: WKWebViewConfiguration())
-            
-            viewerDocumentWeb.viewDocumentWebAt(metadata, view: backgroundView)
-            return
-        }
-        */
-        
+    
         // DOCUMENT
         if metadata.typeFile == k_metadataTypeFile_document {