marinofaggiana 5 年 前
コミット
a82cca25a1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      iOSClient/Viewer/NCViewerRichdocument.swift

+ 1 - 1
iOSClient/Viewer/NCViewerRichdocument.swift

@@ -112,7 +112,7 @@ class NCViewerRichdocument: WKWebView, WKNavigationDelegate, WKScriptMessageHand
             }
             
             if message.body as? String == "share" {
-                appDelegate.activeMain.openShare(with: self.detail.metadataDetail)
+                appDelegate.activeMain.openShare(with: metadata)
             }
             
             if let param = message.body as? Dictionary<AnyHashable,Any> {