Skip to content

Commit

Permalink
👔 Override the isInstalled flag for Liker ID
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Jan 25, 2024
1 parent 8e27b00 commit 9b13cf6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/connection-method-selection-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ 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 9b13cf6

Please sign in to comment.