From 701c6bd80557f32c209989d15f5c486d42a72003 Mon Sep 17 00:00:00 2001 From: Hernan Zalazar Date: Thu, 6 Oct 2016 12:30:06 -0300 Subject: [PATCH] Set the background color to the enclosing controller --- Lock/UI/Private/A0NavigationController.m | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Lock/UI/Private/A0NavigationController.m b/Lock/UI/Private/A0NavigationController.m index 6af384442..f7cb747b0 100644 --- a/Lock/UI/Private/A0NavigationController.m +++ b/Lock/UI/Private/A0NavigationController.m @@ -21,7 +21,7 @@ // THE SOFTWARE. #import "A0NavigationController.h" - +#import "A0Theme.h" @implementation A0NavigationController @@ -33,4 +33,10 @@ - (UIInterfaceOrientationMask)supportedInterfaceOrientations { return [last supportedInterfaceOrientations]; } +- (void)viewDidLoad { + [super viewDidLoad]; + A0Theme *theme = [A0Theme sharedInstance]; + self.view.backgroundColor = [theme colorForKey:A0ThemeScreenBackgroundColor]; +} + @end