Skip to content

Commit

Permalink
🎨 Do not override the isInstalled flag if it has already been set
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Jan 25, 2024
1 parent e5b2628 commit a8c9a99
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/connection-method-selection-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,7 @@ export const ConnectionMethodSelectionDialog: FC<ConnectionMethodSelectionDialog
case LikeCoinWalletConnectorMethodType.MetaMaskLeap:
method.isInstalled = !!window.ethereum?.isMetaMask;
break;
case LikeCoinWalletConnectorMethodType.LikerId:
// NOTE: Liker ID method overrides the isInstalled flag
method.isInstalled = true;
break;
default:
method.isInstalled = false;
break;
}

Expand Down

0 comments on commit a8c9a99

Please sign in to comment.