Remove dispatch code that didn't seem to help and caused us to not be able to find the correct view controller when setting the article. Issue #1881
This commit is contained in:
parent
76d5f4a073
commit
27b1443def
|
@ -112,13 +112,10 @@ class ArticleViewController: UIViewController {
|
|||
}
|
||||
articleExtractorButton.buttonState = controller.articleExtractorButtonState
|
||||
|
||||
DispatchQueue.main.async {
|
||||
self.pageViewController.setViewControllers([controller], direction: .forward, animated: false, completion: nil)
|
||||
if AppDefaults.articleFullscreenEnabled {
|
||||
controller.hideBars()
|
||||
}
|
||||
self.pageViewController.setViewControllers([controller], direction: .forward, animated: false, completion: nil)
|
||||
if AppDefaults.articleFullscreenEnabled {
|
||||
controller.hideBars()
|
||||
}
|
||||
|
||||
updateUI()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue