Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed Mar 27, 2024
1 parent 1520f1f commit a5c0a63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/Navigation/Navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ function navigateWithSwitchPolicyID(params: SwitchPolicyIDParams) {

return switchPolicyID(navigationRef.current, params);
}
/** Check if the modal is displayed */

/** Check if the modal is being displayed */
function isDisplayedInModal() {
const state = navigationRef?.current?.getRootState();
const lastRoute = state?.routes?.at(-1);
Expand Down

0 comments on commit a5c0a63

Please sign in to comment.