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

+ 1 - 0
iOSClient/RichWorkspace/NCViewerRichWorkspace.swift

@@ -50,6 +50,7 @@ import MarkdownKit
         textView.attributedText = markdownParser.parse(richWorkspaceText)
         textView.attributedText = markdownParser.parse(richWorkspaceText)
         
         
         NotificationCenter.default.addObserver(self, selector: #selector(self.changeTheming), name: NSNotification.Name(rawValue: "changeTheming"), object: nil)
         NotificationCenter.default.addObserver(self, selector: #selector(self.changeTheming), name: NSNotification.Name(rawValue: "changeTheming"), object: nil)
+        NotificationCenter.default.addObserver(self, selector: #selector(self.changeTheming), name: NSNotification.Name(rawValue: "applicationWillEnterForeground"), object: nil)
         changeTheming()
         changeTheming()
     }
     }