|
@@ -40,7 +40,7 @@
|
40
|
40
|
|
41
|
41
|
-(void)setStyleOnAppear:(UIViewController*)vc styleParams:(NSDictionary*)styleParams {
|
42
|
42
|
|
43
|
|
- [self setNavBarStyle:vc styleParams:styleParams];
|
|
43
|
+ [RNNStyler setNavBarStyle:vc styleParams:styleParams];
|
44
|
44
|
[self setStyleOnAppear:vc styleParams:styleParams];
|
45
|
45
|
|
46
|
46
|
NSString *screenBackgroundColor = styleParams[STYLE_SCREEN_BACKGROUD_COLOR];
|
|
@@ -63,7 +63,7 @@
|
63
|
63
|
#pragma mark - Setters
|
64
|
64
|
|
65
|
65
|
|
66
|
|
--(void)setNavBarStyle:(UIViewController*)vc styleParams:(NSDictionary*)styleParams {
|
|
66
|
++(void)setNavBarStyle:(UIViewController*)vc styleParams:(NSDictionary*)styleParams {
|
67
|
67
|
|
68
|
68
|
NSString *navBarBackgroundColor = styleParams[STYLE_NAV_BAR_BACKGROUND_COLOR];
|
69
|
69
|
if (navBarBackgroundColor) {
|
|
@@ -122,7 +122,7 @@
|
122
|
122
|
}
|
123
|
123
|
|
124
|
124
|
|
125
|
|
--(void)setTabBarStyle:(UIViewController*)vc styleParams:(NSDictionary*)styleParams {
|
|
125
|
++(void)setTabBarStyle:(UIViewController*)vc styleParams:(NSDictionary*)styleParams {
|
126
|
126
|
|
127
|
127
|
NSNumber *drawUnderTabBar = styleParams[STYLE_DRAW_UNDER_TAB_BAR];
|
128
|
128
|
BOOL drawUnderTabBarBool = drawUnderTabBar ? [drawUnderTabBar boolValue] : NO;
|