|
@@ -491,7 +491,7 @@ public class BottomTabsLayout extends BaseLayout implements AHBottomNavigation.O
|
491
|
491
|
}
|
492
|
492
|
|
493
|
493
|
private void sendTabSelectedEventToJs(int selectedTabIndex, int unselectedTabIndex) {
|
494
|
|
- String navigatorEventId = getCurrentScreenStack().peek().getNavigatorEventId();
|
|
494
|
+ String navigatorEventId = screenStacks[selectedTabIndex].peek().getNavigatorEventId();
|
495
|
495
|
WritableMap data = createTabSelectedEventData(selectedTabIndex, unselectedTabIndex);
|
496
|
496
|
NavigationApplication.instance.getEventEmitter().sendNavigatorEvent("bottomTabSelected", navigatorEventId, data);
|
497
|
497
|
|