Skip to content

Commit

Permalink
fix: undo url change for redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
just-toby committed Nov 6, 2023
1 parent 5ab78eb commit 83c3d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connection/WalletConnectV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class UniwalletConnect extends WalletConnectV2 {
if (isIOS) {
// Using window.location.href to open the deep link ensures smooth navigation and leverages OS handling for installed apps,
// avoiding potential popup blockers or inconsistent behavior associated with window.open
window.location.href = `https://uniswap.org/app/wc?uri=${encodeURIComponent(uri)}`
window.location.href = `uniswap://wc?uri=${encodeURIComponent(uri)}`
}
})
}
Expand Down

0 comments on commit 83c3d94

Please sign in to comment.