mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-27 06:46:52 +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:
1 parent
9e3f061fcb
commit
cd5e491f00
1 file changed
+3
-7
@@ -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
|
||||
|
||||
Reference in new issue
Block a user