Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master' into rc/2.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
salman2013 committed Feb 22, 2018
2 parents bd93c58 + 5bc3770 commit 99ad1f4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
4 changes: 0 additions & 4 deletions Source/OEXLoginViewController.m
Expand Up @@ -763,10 +763,6 @@ - (BOOL) isRTL {
return [UIApplication sharedApplication].userInterfaceLayoutDirection == UIUserInterfaceLayoutDirectionRightToLeft;
}

- (UIStatusBarStyle)preferredStatusBarStyle {
return [OEXStyles sharedStyles].standardStatusBarStyle;
}

- (BOOL) shouldAutorotate {
return false;
}
Expand Down
4 changes: 0 additions & 4 deletions Source/OEXRegistrationViewController.m
Expand Up @@ -490,10 +490,6 @@ - (void)showProgress:(BOOL)status {
}
}

- (UIStatusBarStyle)preferredStatusBarStyle {
return self.environment.styles.standardStatusBarStyle;
}

- (BOOL) shouldAutorotate {
return false;
}
Expand Down
4 changes: 2 additions & 2 deletions Source/OEXRouter.m
Expand Up @@ -134,15 +134,15 @@ - (UINavigationController *) loginViewController {
OEXLoginViewController* loginController = [[UIStoryboard storyboardWithName:@"OEXLoginViewController" bundle:nil] instantiateViewControllerWithIdentifier:@"LoginView"];
loginController.delegate = self;
loginController.environment = self.environment;
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:loginController];
ForwardingNavigationController *navController = [[ForwardingNavigationController alloc] initWithRootViewController:loginController];

return navController;
}

- (void)showSignUpScreenFromController:(UIViewController*)controller completion:(void(^)(void))completion {
self.registrationCompletion = completion;
OEXRegistrationViewController* registrationController = [[OEXRegistrationViewController alloc] initWithEnvironment:self.environment];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:registrationController];
ForwardingNavigationController *navController = [[ForwardingNavigationController alloc] initWithRootViewController:registrationController];
registrationController.delegate = self;

[self presentViewController:navController fromController:[controller topMostController] completion:nil];
Expand Down

0 comments on commit 99ad1f4

Please sign in to comment.