|
@@ -142,10 +142,15 @@ public class BottomTabsLayout extends BaseLayout implements AHBottomNavigation.O
|
142
|
142
|
}
|
143
|
143
|
|
144
|
144
|
private void showInitialScreenStack() {
|
145
|
|
- showStackAndUpdateStyle(screenStacks[0], NavigationType.InitialScreen);
|
|
145
|
+ bottomTabs.setVisibilityByInitialScreen(getInitialScreenStack().peek().getStyleParams());
|
|
146
|
+ showStackAndUpdateStyle(getInitialScreenStack(), NavigationType.InitialScreen);
|
146
|
147
|
EventBus.instance.post(new ScreenChangedEvent(screenStacks[0].peek().getScreenParams()));
|
147
|
148
|
}
|
148
|
149
|
|
|
150
|
+ private ScreenStack getInitialScreenStack() {
|
|
151
|
+ return screenStacks[AppStyle.appStyle.bottomTabsInitialIndex];
|
|
152
|
+ }
|
|
153
|
+
|
149
|
154
|
@Override
|
150
|
155
|
public View asView() {
|
151
|
156
|
return this;
|