diff --git a/iOS/Article/ArticleViewController.swift b/iOS/Article/ArticleViewController.swift index 0515e7cac..47eabd5a8 100644 --- a/iOS/Article/ArticleViewController.swift +++ b/iOS/Article/ArticleViewController.swift @@ -141,10 +141,8 @@ class ArticleViewController: UIViewController { } override func viewSafeAreaInsetsDidChange() { - // When the bars are hiding, the bar hiding duration is used. In all other cases, execute immediately. - UIView.animate(withDuration: 0.0) { - self.view.layoutIfNeeded() - } + // This will animate if the show/hide bars animation is happening. + view.layoutIfNeeded() } func updateUI() {