mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix issue where full screen wouldn't come back after being engaged and moving to the timeline. (Regression)
This commit is contained in:
@@ -114,18 +114,14 @@ class ArticleViewController: UIViewController {
|
|||||||
|
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
self.pageViewController.setViewControllers([controller], direction: .forward, animated: false, completion: nil)
|
self.pageViewController.setViewControllers([controller], direction: .forward, animated: false, completion: nil)
|
||||||
|
if AppDefaults.articleFullscreenEnabled {
|
||||||
|
controller.hideBars()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
updateUI()
|
updateUI()
|
||||||
}
|
}
|
||||||
|
|
||||||
override func viewWillAppear(_ animated: Bool) {
|
|
||||||
super.viewWillAppear(animated)
|
|
||||||
if AppDefaults.articleFullscreenEnabled {
|
|
||||||
currentWebViewController?.hideBars()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
override func viewDidAppear(_ animated: Bool) {
|
override func viewDidAppear(_ animated: Bool) {
|
||||||
super.viewDidAppear(true)
|
super.viewDidAppear(true)
|
||||||
coordinator.isArticleViewControllerPending = false
|
coordinator.isArticleViewControllerPending = false
|
||||||
|
|||||||
Reference in New Issue
Block a user