Fix issue where full screen wouldn't come back after being engaged and moving to the timeline. (Regression)
This commit is contained in:
parent
9e3f061fcb
commit
cd5e491f00
|
@ -114,18 +114,14 @@ class ArticleViewController: UIViewController {
|
|||
|
||||
DispatchQueue.main.async {
|
||||
self.pageViewController.setViewControllers([controller], direction: .forward, animated: false, completion: nil)
|
||||
if AppDefaults.articleFullscreenEnabled {
|
||||
controller.hideBars()
|
||||
}
|
||||
}
|
||||
|
||||
updateUI()
|
||||
}
|
||||
|
||||
override func viewWillAppear(_ animated: Bool) {
|
||||
super.viewWillAppear(animated)
|
||||
if AppDefaults.articleFullscreenEnabled {
|
||||
currentWebViewController?.hideBars()
|
||||
}
|
||||
}
|
||||
|
||||
override func viewDidAppear(_ animated: Bool) {
|
||||
super.viewDidAppear(true)
|
||||
coordinator.isArticleViewControllerPending = false
|
||||
|
|
Loading…
Reference in New Issue