Fix drawer navigation dispatch (#4121)

This commit is contained in:
Eric Vicenti
2018-05-04 09:48:45 -07:00
committed by Brent Vatne
parent ab5481a290
commit 723c5f2149

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,
})
);
}
};