NavBar -> toolbar

This commit is contained in:
James Magahern
2020-07-22 19:42:38 -07:00
parent 3a38c4d792
commit 125c7f8991
2 changed files with 7 additions and 3 deletions

View File

@@ -17,6 +17,8 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
guard let windowScene = (scene as? UIWindowScene) else { return }
navigationController.viewControllers = [ browserViewController ]
navigationController.setNavigationBarHidden(true, animated: false)
navigationController.setToolbarHidden(false, animated: false)
let window = UIWindow(windowScene: windowScene)
window.rootViewController = navigationController