From 0bbeb06a605cd94ae4a598cd21991b891cbfaa0d Mon Sep 17 00:00:00 2001 From: bluecco Date: Thu, 12 Oct 2023 16:38:18 +0200 Subject: [PATCH] fix: universal link schema --- src/connectors/argentMobile/modal/argentModal.ts | 2 +- src/connectors/argentMobile/modal/login.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connectors/argentMobile/modal/argentModal.ts b/src/connectors/argentMobile/modal/argentModal.ts index 9aea30b..cb7a309 100644 --- a/src/connectors/argentMobile/modal/argentModal.ts +++ b/src/connectors/argentMobile/modal/argentModal.ts @@ -60,7 +60,7 @@ interface Urls { class ArgentModal { public bridgeUrl = "https://login.argent.xyz" - public mobileUrl = "https://www.argent.xyz/" + public mobileUrl = "argent://" public type: "overlay" | "window" = "overlay" public wcUri?: string diff --git a/src/connectors/argentMobile/modal/login.ts b/src/connectors/argentMobile/modal/login.ts index 77be181..46e1a1d 100644 --- a/src/connectors/argentMobile/modal/login.ts +++ b/src/connectors/argentMobile/modal/login.ts @@ -144,6 +144,6 @@ const getMobileUrl = (chainId: unknown) => { String(chainId).startsWith(Network.SN_MAIN) || chainIdNumber === 1 // mainnet numeric value ) { - return "https://www.argent.xyz/" + return "argent://" } }