Browse Source

Changed default bottomTabs.translucent to false

yogevbd 6 years ago
parent
commit
cbc0c001b3

+ 1
- 1
lib/ios/RNNTabBarPresenter.m View File

12
 	
12
 	
13
 	[tabBarController rnn_setTabBarTestID:[options.bottomTabs.testID getWithDefaultValue:nil]];
13
 	[tabBarController rnn_setTabBarTestID:[options.bottomTabs.testID getWithDefaultValue:nil]];
14
 	[tabBarController rnn_setTabBarBackgroundColor:[options.bottomTabs.backgroundColor getWithDefaultValue:nil]];
14
 	[tabBarController rnn_setTabBarBackgroundColor:[options.bottomTabs.backgroundColor getWithDefaultValue:nil]];
15
-	[tabBarController rnn_setTabBarTranslucent:[options.bottomTabs.translucent getWithDefaultValue:YES]];
15
+	[tabBarController rnn_setTabBarTranslucent:[options.bottomTabs.translucent getWithDefaultValue:NO]];
16
 	[tabBarController rnn_setTabBarHideShadow:[options.bottomTabs.hideShadow getWithDefaultValue:NO]];
16
 	[tabBarController rnn_setTabBarHideShadow:[options.bottomTabs.hideShadow getWithDefaultValue:NO]];
17
 	[tabBarController rnn_setTabBarStyle:[RCTConvert UIBarStyle:[options.bottomTabs.barStyle getWithDefaultValue:@"default"]]];
17
 	[tabBarController rnn_setTabBarStyle:[RCTConvert UIBarStyle:[options.bottomTabs.barStyle getWithDefaultValue:@"default"]]];
18
 	[tabBarController rnn_setTabBarVisible:[options.bottomTabs.visible getWithDefaultValue:YES]];
18
 	[tabBarController rnn_setTabBarVisible:[options.bottomTabs.visible getWithDefaultValue:YES]];

+ 1
- 1
lib/ios/ReactNativeNavigationTests/RNNTabBarPresenterTest.m View File

25
 	RNNNavigationOptions* emptyOptions = [[RNNNavigationOptions alloc] initEmptyOptions];
25
 	RNNNavigationOptions* emptyOptions = [[RNNNavigationOptions alloc] initEmptyOptions];
26
 	[[self.bindedViewController expect] rnn_setTabBarTestID:nil];
26
 	[[self.bindedViewController expect] rnn_setTabBarTestID:nil];
27
 	[[self.bindedViewController expect] rnn_setTabBarBackgroundColor:nil];
27
 	[[self.bindedViewController expect] rnn_setTabBarBackgroundColor:nil];
28
-	[[self.bindedViewController expect] rnn_setTabBarTranslucent:YES];
28
+	[[self.bindedViewController expect] rnn_setTabBarTranslucent:NO];
29
 	[[self.bindedViewController expect] rnn_setTabBarHideShadow:NO];
29
 	[[self.bindedViewController expect] rnn_setTabBarHideShadow:NO];
30
     [[self.bindedViewController expect] rnn_setTabBarStyle:UIBarStyleDefault];
30
     [[self.bindedViewController expect] rnn_setTabBarStyle:UIBarStyleDefault];
31
 	[[self.bindedViewController expect] rnn_setTabBarVisible:YES];
31
 	[[self.bindedViewController expect] rnn_setTabBarVisible:YES];