I want that drawer should automatically close If I tap any of the menu or sub menu in the drawer.
if(submenuTitle.submenu == "Stream Settings") {
// redirect user to the stream settings page
Actions.settings();
}
if(submenuTitle.submenu == "Manage social accounts") {
// redirect user to the connect page
Actions.connectCard();
}
if(submenuTitle.submenu == "Go Live") {
// redirect user to the stream page
Actions.goLive();
}
}}
Above is the part of my drawer code. I want my drawer to close before navigating to another page when I tap any sub-menu like Go Live
I want that drawer should automatically close If I tap any of the menu or sub menu in the drawer.
Above is the part of my drawer code. I want my drawer to close before navigating to another page when I tap any sub-menu like
Go Live