mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Animate safe area inset changes. Issue #1341
This commit is contained in:
@@ -140,6 +140,12 @@ class ArticleViewController: UIViewController {
|
||||
coordinator.isArticleViewControllerPending = false
|
||||
}
|
||||
|
||||
override func viewSafeAreaInsetsDidChange() {
|
||||
UIView.animate(withDuration: 1) {
|
||||
self.view.layoutIfNeeded()
|
||||
}
|
||||
}
|
||||
|
||||
func updateUI() {
|
||||
|
||||
guard let article = currentArticle else {
|
||||
|
||||
Reference in New Issue
Block a user