Skip to content

Commit

Permalink
Small Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
parasharrajat committed Oct 18, 2021
1 parent 96f2300 commit a21e6ba
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 a21e6ba

Please sign in to comment.