|
@@ -17,6 +17,7 @@ import com.reactnativenavigation.NavigationApplication;
|
17
|
17
|
import com.reactnativenavigation.events.EventBus;
|
18
|
18
|
import com.reactnativenavigation.events.ScreenChangedEvent;
|
19
|
19
|
import com.reactnativenavigation.params.ActivityParams;
|
|
20
|
+import com.reactnativenavigation.params.AppStyle;
|
20
|
21
|
import com.reactnativenavigation.params.ContextualMenuParams;
|
21
|
22
|
import com.reactnativenavigation.params.FabParams;
|
22
|
23
|
import com.reactnativenavigation.params.LightBoxParams;
|
|
@@ -80,10 +81,7 @@ public class BottomTabsLayout extends BaseLayout implements AHBottomNavigation.O
|
80
|
81
|
}
|
81
|
82
|
|
82
|
83
|
private void setInitialTabIndex() {
|
83
|
|
- if (params.initialTabIndex == null) {
|
84
|
|
- return;
|
85
|
|
- }
|
86
|
|
- bottomTabs.setCurrentItem(params.initialTabIndex);
|
|
84
|
+ bottomTabs.setCurrentItem(AppStyle.appStyle.bottomTabsInitialIndex);
|
87
|
85
|
}
|
88
|
86
|
|
89
|
87
|
private void createSideMenu() {
|