Skip to content

Commit

Permalink
Merge pull request #43992 from MrMuzyk/fix/43462-unable-to-open-works…
Browse files Browse the repository at this point in the history
…pace

fix: Change navigating condition
  • Loading branch information
Beamanator authored Jun 21, 2024
2 parents a240ce8 + d9c660c commit 68374a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/Navigation/AppNavigator/getPartialStateDiff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ function getPartialStateDiff(state: State<RootStackParamList>, templateState: St
(!stateTopmostFullScreen && templateStateTopmostFullScreen) ||
(stateTopmostFullScreen &&
templateStateTopmostFullScreen &&
stateTopmostFullScreen.name !== templateStateTopmostFullScreen.name &&
!shallowCompare(stateTopmostFullScreen.params as Record<string, unknown> | undefined, templateStateTopmostFullScreen.params as Record<string, unknown> | undefined))
(stateTopmostFullScreen.name !== templateStateTopmostFullScreen.name ||
!shallowCompare(stateTopmostFullScreen.params as Record<string, unknown> | undefined, templateStateTopmostFullScreen.params as Record<string, unknown> | undefined)))
) {
diff[NAVIGATORS.FULL_SCREEN_NAVIGATOR] = fullScreenDiff;
}
Expand Down

0 comments on commit 68374a5

Please sign in to comment.