Skip to content

Commit

Permalink
Merge pull request #90 from argentlabs/fix/mobile-qr
Browse files Browse the repository at this point in the history
fix: revert mobile qr change
  • Loading branch information
bluecco authored Mar 28, 2024
2 parents 597bd05 + 3481ca9 commit e1b1860
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/connectors/argentMobile/modal/argentModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,24 @@ class ArgentModal {
const wcParam = encodeURIComponent(wcUri)
const href = encodeURIComponent(window.location.href)

/*
// KEEPING IN CASE NEEDS TO BE REVERTED
const desktopWcParam = encodeURIComponent(
`${this.mobileUrl}app/wc?uri=${wcParam}`,
)
this.showModal({
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`,
})
) */

this.showModal({
desktop: `${this.bridgeUrl}?wc=${wcParam}&device=desktop`,
ios: `${this.mobileUrl}app/wc?uri=${wcParam}&href=${href}&device=mobile`,
android: `${this.mobileUrl}app/wc?uri=${wcParam}&href=${href}&device=mobile`,
})
}

public showApprovalModal(_: RequestArguments): void {
Expand Down

0 comments on commit e1b1860

Please sign in to comment.