-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: updated the patch for expo router
- Loading branch information
1 parent
32d392a
commit 92b2818
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/node_modules/expo-router/build/global-state/routing.js b/node_modules/expo-router/build/global-state/routing.js | ||
index 764db0b..1dfc216 100644 | ||
--- a/node_modules/expo-router/build/global-state/routing.js | ||
+++ b/node_modules/expo-router/build/global-state/routing.js | ||
@@ -226,6 +226,9 @@ function getNavigateAction(actionState, navigationState, type = 'NAVIGATE') { | ||
if (type === 'REPLACE' && navigationState.type === 'tab') { | ||
type = 'JUMP_TO'; | ||
} | ||
+ | ||
+ rootPayload.params.initial = false | ||
+ | ||
return { | ||
type, | ||
target: navigationState.key, |