From 68e4790e10b5562f22c8c170d2efc3fc4bc0decc Mon Sep 17 00:00:00 2001 From: William Chong Date: Tue, 3 Sep 2024 23:03:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Show=201st=20isInstalled=20metho?= =?UTF-8?q?d=20properly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/connection-method-selection-dialog.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/connection-method-selection-dialog.tsx b/src/components/connection-method-selection-dialog.tsx index bae4427..84eef1a 100644 --- a/src/components/connection-method-selection-dialog.tsx +++ b/src/components/connection-method-selection-dialog.tsx @@ -20,7 +20,7 @@ const connectionMethodMap = [ type: LikeCoinWalletConnectorMethodType.LikerId, name: 'Email/Social', tier: 1, - isInstalled: true, + isInstalled: false, isMobileOk: true, url: 'https://like.co/in', description: 'connect_wallet_method_description_authcore', @@ -189,9 +189,7 @@ export const ConnectionMethodSelectionDialog: FC method.isInstalled - ); + let hasShownInstalledWallet = false; const getTier = (method: LikeCoinWalletConnectorMethod) => { if (!hasShownInstalledWallet) { if (method.isInstalled) {