Skip to content

Commit

Permalink
fix: fixed how we handle deeplinks that don't have connection params (o…
Browse files Browse the repository at this point in the history
…penwallet-foundation#1179)

Signed-off-by: wadeking98 <wkingnumber2@gmail.com>
  • Loading branch information
wadeking98 authored Jun 25, 2024
1 parent 0db42ad commit 7812f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/legacy/core/App/navigators/RootStack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const RootStack: React.FC = () => {
useEffect(() => {
async function handleDeepLink(deepLink: string) {
// If it's just the general link with no params, set link inactive and do nothing
if (deepLink.endsWith('//')) {
if (deepLink.search(/oob=|c_i=|d_m=|url=/) < 0) {
dispatch({
type: DispatchAction.ACTIVE_DEEP_LINK,
payload: [undefined],
Expand Down

0 comments on commit 7812f71

Please sign in to comment.