Removed dead code.

This commit is contained in:
Maurice Parker 2019-11-24 13:41:32 -06:00
parent 5c4cd072ce
commit 2c7ec88087
1 changed files with 2 additions and 4 deletions

View File

@ -141,10 +141,8 @@ class ArticleViewController: UIViewController {
} }
override func viewSafeAreaInsetsDidChange() { override func viewSafeAreaInsetsDidChange() {
// When the bars are hiding, the bar hiding duration is used. In all other cases, execute immediately. // This will animate if the show/hide bars animation is happening.
UIView.animate(withDuration: 0.0) { view.layoutIfNeeded()
self.view.layoutIfNeeded()
}
} }
func updateUI() { func updateUI() {