Skip to content

Commit

Permalink
Fix root module appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
Otbivnoe committed Oct 28, 2017
1 parent 4ff2132 commit 20abed9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Routing/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
let mainModule = MainModuleBuilder.module()
let navigationController = UINavigationController(rootViewController: mainModule)

window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = navigationController

window?.makeKeyAndVisible()

return true
}

Expand Down

0 comments on commit 20abed9

Please sign in to comment.