marinofaggiana 5 лет назад
Родитель
Сommit
35d1e633aa
1 измененных файлов с 9 добавлено и 0 удалено
  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" {
+                
+            }
+            
         }
     }