Skip to content

Commit 64cb863

Browse files
authored
Merge pull request #5937 from parasharrajat/fix-navigation
[NO QA] Small Refactor
2 parents 5b3baae + a21e6ba commit 64cb863

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libs/Navigation/CustomActions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ function pushDrawerRoute(screenName, params, navigationRef) {
8888

8989
export default {
9090
pushDrawerRoute,
91-
navigateBackToDrawer: navigateBackToRootDrawer,
91+
navigateBackToRootDrawer,
9292
};

src/libs/Navigation/Navigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function dismissModal(shouldOpenDrawer = false) {
138138
? shouldOpenDrawer
139139
: false;
140140

141-
CustomActions.navigateBackToDrawer(navigationRef);
141+
CustomActions.navigateBackToRootDrawer(navigationRef);
142142
if (normalizedShouldOpenDrawer) {
143143
openDrawer();
144144
}

0 commit comments

Comments
 (0)