Respond to CR.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-05-24 17:47:56 -04:00
parent 4680a2465a
commit 2475406258
1 changed files with 1 additions and 3 deletions

View File

@ -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 =