fix: update uniwallet wc link (#7450)

* fix: update uniwallet wc link

* fix: undo url change for redirect
This commit is contained in:
eddie 2023-11-06 12:22:03 -08:00 committed by GitHub
parent a0d880cf81
commit 098c7b9cbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -78,8 +78,9 @@ export class UniwalletConnect extends WalletConnectV2 {
this.events.on(URI_AVAILABLE, (uri) => {
if (!uri) return
// Emits custom wallet connect code, parseable by the Uniswap Wallet
this.events.emit(UniwalletConnect.UNI_URI_AVAILABLE, `hello_uniwallet:${uri}`)
this.events.emit(UniwalletConnect.UNI_URI_AVAILABLE, `https://uniswap.org/app/wc?uri=${uri}`)
// Opens deeplink to Uniswap Wallet if on iOS
if (isIOS) {