Browse Source

Changed default bottomTabs.translucent to false

yogevbd 5 years ago
parent
commit
cbc0c001b3

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

@@ -12,7 +12,7 @@
12 12
 	
13 13
 	[tabBarController rnn_setTabBarTestID:[options.bottomTabs.testID getWithDefaultValue:nil]];
14 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 16
 	[tabBarController rnn_setTabBarHideShadow:[options.bottomTabs.hideShadow getWithDefaultValue:NO]];
17 17
 	[tabBarController rnn_setTabBarStyle:[RCTConvert UIBarStyle:[options.bottomTabs.barStyle getWithDefaultValue:@"default"]]];
18 18
 	[tabBarController rnn_setTabBarVisible:[options.bottomTabs.visible getWithDefaultValue:YES]];

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

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