marinofaggiana 5 năm trước cách đây
mục cha
commit
99916fe47d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      iOSClient/RichWorkspace/NCViewerRichWorkspace.swift

+ 1 - 0
iOSClient/RichWorkspace/NCViewerRichWorkspace.swift

@@ -50,6 +50,7 @@ import MarkdownKit
         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: "applicationWillEnterForeground"), object: nil)
         changeTheming()
     }