Skip to content

Commit

Permalink
Merge pull request #5937 from parasharrajat/fix-navigation
Browse files Browse the repository at this point in the history
[NO QA] Small Refactor
  • Loading branch information
MariaHCD committed Oct 19, 2021
2 parents 5b3baae + a21e6ba commit 64cb863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libs/Navigation/CustomActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ function pushDrawerRoute(screenName, params, navigationRef) {

export default {
pushDrawerRoute,
navigateBackToDrawer: navigateBackToRootDrawer,
navigateBackToRootDrawer,
};
2 changes: 1 addition & 1 deletion src/libs/Navigation/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function dismissModal(shouldOpenDrawer = false) {
? shouldOpenDrawer
: false;

CustomActions.navigateBackToDrawer(navigationRef);
CustomActions.navigateBackToRootDrawer(navigationRef);
if (normalizedShouldOpenDrawer) {
openDrawer();
}
Expand Down

0 comments on commit 64cb863

Please sign in to comment.