marinofaggiana 5 年之前
父节点
当前提交
d454b5a3c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Text/NCText.swift

+ 1 - 1
iOSClient/Text/NCText.swift

@@ -112,7 +112,7 @@ class NCText: UIViewController, UITextViewDelegate {
         
         if appDelegate.activeDetail != nil && appDelegate.activeDetail.backgroundView.subviews.first != nil {
             if appDelegate.activeDetail.backgroundView.subviews.first is WKWebView {
-                appDelegate.activeDetail.viewFile(metadata: metadata!, selector: nil)
+                appDelegate.activeDetail.viewUnload()
             }
         }
     }