Skip to content

Commit

Permalink
fix: revert mobile qr change
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecco committed Mar 28, 2024
1 parent 597bd05 commit 3481ca9
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 3481ca9

Please sign in to comment.