From 2475406258cc0c23aeec6c2bbe5be065d8ca2604 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 24 May 2017 17:47:56 -0400 Subject: [PATCH] Respond to CR. // FREEBIE --- Signal/src/AppDelegate.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Signal/src/AppDelegate.m b/Signal/src/AppDelegate.m index 934005abb..5a4047aeb 100644 --- a/Signal/src/AppDelegate.m +++ b/Signal/src/AppDelegate.m @@ -117,9 +117,7 @@ static NSString *const kURLHostVerifyPrefix = @"verify"; self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; if ([TSAccountManager isRegistered]) { - UIStoryboard *storyboard = - [UIStoryboard storyboardWithName:AppDelegateStoryboardMain bundle:[NSBundle mainBundle]]; - self.window.rootViewController = [storyboard instantiateInitialViewController]; + self.window.rootViewController = [[UIStoryboard main] instantiateInitialViewController]; } else { RegistrationViewController *viewController = [RegistrationViewController new]; UINavigationController *navigationController =