diff --git a/Source/OEXLoginViewController.m b/Source/OEXLoginViewController.m index 85d899c9a1..c78f24afc1 100644 --- a/Source/OEXLoginViewController.m +++ b/Source/OEXLoginViewController.m @@ -763,10 +763,6 @@ - (BOOL) isRTL { return [UIApplication sharedApplication].userInterfaceLayoutDirection == UIUserInterfaceLayoutDirectionRightToLeft; } -- (UIStatusBarStyle)preferredStatusBarStyle { - return [OEXStyles sharedStyles].standardStatusBarStyle; -} - - (BOOL) shouldAutorotate { return false; } diff --git a/Source/OEXRegistrationViewController.m b/Source/OEXRegistrationViewController.m index 67f2108edc..f6aeacddae 100644 --- a/Source/OEXRegistrationViewController.m +++ b/Source/OEXRegistrationViewController.m @@ -490,10 +490,6 @@ - (void)showProgress:(BOOL)status { } } -- (UIStatusBarStyle)preferredStatusBarStyle { - return self.environment.styles.standardStatusBarStyle; -} - - (BOOL) shouldAutorotate { return false; } diff --git a/Source/OEXRouter.m b/Source/OEXRouter.m index 5aa86530d5..5cf29b48b0 100644 --- a/Source/OEXRouter.m +++ b/Source/OEXRouter.m @@ -134,7 +134,7 @@ - (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; } @@ -142,7 +142,7 @@ - (UINavigationController *) loginViewController { - (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];