mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Delay the show toolbar animation to prevent it from looking all crazy
This commit is contained in:
@@ -1347,7 +1347,12 @@ extension SceneCoordinator: UINavigationControllerDelegate {
|
||||
|
||||
// Restore any bars hidden by the article controller
|
||||
showStatusBar()
|
||||
navigationController.setNavigationBarHidden(false, animated: true)
|
||||
|
||||
// We delay the showing of the navigation bars because it freaks out on iOS 15 with the new split view controller
|
||||
// if it is trying to show at the same time as the show timeline animation
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
|
||||
navigationController.setNavigationBarHidden(false, animated: true)
|
||||
}
|
||||
navigationController.setToolbarHidden(false, animated: true)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user