Skip to content

Commit

Permalink
Merge pull request #87 from argentlabs/fix/argent-mobile-qr-link
Browse files Browse the repository at this point in the history
fix: update qr value
  • Loading branch information
bluecco authored Mar 20, 2024
2 parents d992264 + 98acf9f commit 52f190c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/connectors/argentMobile/modal/argentModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ class ArgentModal {
const wcParam = encodeURIComponent(wcUri)
const href = encodeURIComponent(window.location.href)

const desktopWcParam = `${this.mobileUrl}app/wc?uri=${wcParam}`

this.showModal({
desktop: `${this.bridgeUrl}?wc=${wcParam}&device=desktop`,
desktop: `${this.bridgeUrl}?wc=${desktopWcParam}&device=desktop`,
ios: `${this.mobileUrl}app/wc?uri=${wcParam}&href=${href}&device=mobile`,
android: `${this.mobileUrl}app/wc?uri=${wcParam}&href=${href}&device=mobile`,
})
Expand Down
1 change: 0 additions & 1 deletion src/connectors/webwallet/helpers/openWebwallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { trpcProxyClient } from "./trpc"
import type { StarknetWindowObject } from "get-starknet-core"
import { mapTargetUrlToNetworkId } from "../../../helpers/mapTargetUrlToNetworkId"
import { fetchAllowedDapps } from "./fetchAllowedDapps"
import { ProviderInterface } from "starknet"

const checkIncognitoChrome = async (isChrome: boolean) => {
return new Promise((resolve) => {
Expand Down

0 comments on commit 52f190c

Please sign in to comment.