Skip to content

Commit 885c397

Browse files
authored
Merge pull request #245 from argentlabs/fix/bug-not-showing-qr-code-on-mobile
fix: set mobile as installed if it's argentMobile
2 parents 4257cc3 + 11499f3 commit 885c397

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/helpers/mapModalWallets.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function getModalWallet(
5454
id: connector.id,
5555
icon: isCompound ? connectorOrCompoundConnector.icon : connector.icon,
5656
connector: connectorOrCompoundConnector,
57-
installed: false,
57+
installed: connector.id === "argentMobile",
5858
title:
5959
"title" in connector && isString(connector.title)
6060
? connector.title
@@ -156,7 +156,7 @@ export const mapModalWallets = ({
156156
id: discovery.id,
157157
icon: { light: discoveryIcon, dark: discoveryIcon },
158158
connector: _c,
159-
installed: false,
159+
installed: discovery.id === "argentMobile",
160160
download: downloads[storeVersion as keyof typeof downloads],
161161
downloads: downloads,
162162
}

0 commit comments

Comments
 (0)