marinofaggiana 5 years ago
parent
commit
99916fe47d
1 changed files with 1 additions and 0 deletions
  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()
     }