Fix nav bar on documentation
@@ -61,6 +61,12 @@ class DocumentationViewController: UIViewController, WKNavigationDelegate {
navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: .stop, target: self, action: #selector(close))
}
+ override func viewWillAppear(_ animated: Bool) {
+ super.viewWillAppear(animated)
+
+ navigationController?.view.backgroundColor = .white
+ }
+
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
