marinofaggiana 5 年之前
父节点
当前提交
625489ddcf
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      iOSClient/Viewer/NCViewerNextcloudText.swift
  2. 2 0
      iOSClient/Viewer/NCViewerRichdocument.swift

+ 2 - 0
iOSClient/Viewer/NCViewerNextcloudText.swift

@@ -90,6 +90,8 @@ class NCViewerNextcloudText: WKWebView, WKNavigationDelegate, WKScriptMessageHan
                 
                 detail.navigationController?.popViewController(animated: true)
                 detail.navigationController?.navigationBar.topItem?.title = ""
+                
+                appDelegate.activeMain.readFileReloadFolder()
             }
             
             if message.body as? String == "share" {

+ 2 - 0
iOSClient/Viewer/NCViewerRichdocument.swift

@@ -90,6 +90,8 @@ class NCViewerRichdocument: WKWebView, WKNavigationDelegate, WKScriptMessageHand
                 
                 detail.navigationController?.popViewController(animated: true)
                 detail.navigationController?.navigationBar.topItem?.title = ""
+                
+                appDelegate.activeMain.readFileReloadFolder()
             }
             
             if message.body as? String == "insertGraphic" {