fix sidebar navigation

This commit is contained in:
ammarahm-ed
2020-11-20 19:09:01 +05:00
parent 36da5b62e0
commit 7f4ea6c7d9
10 changed files with 754 additions and 449 deletions

View File

@@ -35,7 +35,7 @@ export const MenuListItem = ({item, index, noTextMode, ignore, testID}) => {
NavigationService.navigate(item.name);
}
if (item.close) {
sideMenuRef.current?.openMenu(false)
NavigationService.closeDrawer()
}
};