marinofaggiana 5 lat temu
rodzic
commit
35d1e633aa
1 zmienionych plików z 9 dodań i 0 usunięć
  1. 9 0
      iOSClient/Viewer/NCViewerRichdocument.swift

+ 9 - 0
iOSClient/Viewer/NCViewerRichdocument.swift

@@ -111,6 +111,15 @@ class NCViewerRichdocument: WKWebView, WKNavigationDelegate, WKScriptMessageHand
             if message.body as! String == "share" {
                 appDelegate.activeMain.openShare(with: self.detail.metadataDetail)
             }
+            
+            if message.body as! String == "downloadAs" {
+                
+            }
+            
+            if message.body as! String == "documentLoaded" {
+                
+            }
+            
         }
     }