Skip to content

Commit

Permalink
Merge pull request #328 from auth0/bugfix-ipad-background
Browse files Browse the repository at this point in the history
Set the background color to the enclosing controller
  • Loading branch information
hzalaz authored Oct 6, 2016
2 parents ac1658b + 701c6bd commit 83e2e01
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Lock/UI/Private/A0NavigationController.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// THE SOFTWARE.

#import "A0NavigationController.h"

#import "A0Theme.h"

@implementation A0NavigationController

Expand All @@ -33,4 +33,10 @@ - (UIInterfaceOrientationMask)supportedInterfaceOrientations {
return [last supportedInterfaceOrientations];
}

- (void)viewDidLoad {
[super viewDidLoad];
A0Theme *theme = [A0Theme sharedInstance];
self.view.backgroundColor = [theme colorForKey:A0ThemeScreenBackgroundColor];
}

@end

0 comments on commit 83e2e01

Please sign in to comment.