marinofaggiana 5 years ago
parent
commit
bde5fe53ea
1 changed files with 2 additions and 0 deletions
  1. 2 0
      iOSClient/Main/NCDetailViewController.swift

+ 2 - 0
iOSClient/Main/NCDetailViewController.swift

@@ -580,6 +580,8 @@ class NCDetailViewController: UIViewController {
                     let richDocument = NCViewerRichdocument.init(frame: backgroundView.frame, configuration: WKWebViewConfiguration())
                     let richDocument = NCViewerRichdocument.init(frame: backgroundView.frame, configuration: WKWebViewConfiguration())
                     richDocument.viewRichDocumentAt(metadata.url, metadata: metadata, view: backgroundView, viewController: self)
                     richDocument.viewRichDocumentAt(metadata.url, metadata: metadata, view: backgroundView, viewController: self)
                 }
                 }
+                
+                return
             }
             }
         }
         }