Fix drawer navigation dispatch (#4121)

This commit is contained in:
Eric Vicenti
2018-05-04 09:48:45 -07:00
parent 57edded162
commit 7d9a4675ed

View File

@@ -57,7 +57,12 @@ class DrawerSidebar extends React.PureComponent {
],
});
}
this.props.navigation.navigate(route.routeName, undefined, subAction);
this.props.navigation.dispatch(
NavigationActions.navigate({
routeName: route.routeName,
action: subAction,
})
);
}
};