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