|
@@ -7,6 +7,7 @@ import android.view.View;
|
7
|
7
|
import android.widget.RelativeLayout;
|
8
|
8
|
|
9
|
9
|
import com.aurelhubert.ahbottomnavigation.AHBottomNavigation;
|
|
10
|
+import com.reactnativenavigation.NavigationApplication;
|
10
|
11
|
import com.reactnativenavigation.params.ActivityParams;
|
11
|
12
|
import com.reactnativenavigation.params.ScreenParams;
|
12
|
13
|
import com.reactnativenavigation.params.SideMenuParams;
|
|
@@ -332,6 +333,9 @@ public class BottomTabsLayout extends RelativeLayout implements Layout, AHBottom
|
332
|
333
|
public void onSideMenuButtonClick() {
|
333
|
334
|
if (sideMenu != null) {
|
334
|
335
|
sideMenu.openDrawer();
|
|
336
|
+ } else {
|
|
337
|
+ final String navigatorEventId = getCurrentScreenStack().peek().getNavigatorEventId();
|
|
338
|
+ NavigationApplication.instance.sendNavigatorEvent("sideMenu", navigatorEventId);
|
335
|
339
|
}
|
336
|
340
|
}
|
337
|
341
|
}
|