Skip to content

Commit

Permalink
allow wallet to show when requested by config
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Taras authored and Nick Taras committed Sep 29, 2023
1 parent 3153a42 commit ca85150
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ export class Client {
this.config.issuers.filter((issuer: OnChainTokenConfig) => {
const issuerBlockChain = issuer.blockchain?.toLocaleLowerCase()
const blockChainUsed = issuerBlockChain === blockchain
const solanaEnabled = blockChainUsed && _blockchain === 'solana' && typeof window.solana !== 'undefined'
const ultraEnabled = blockChainUsed && _blockchain === 'ultra' && typeof window.ultra !== 'undefined'
const solanaEnabled = blockChainUsed && _blockchain === 'solana' // && typeof window.solana !== 'undefined'
const ultraEnabled = blockChainUsed && _blockchain === 'ultra' // && typeof window.ultra !== 'undefined'
const evmEnabled = blockChainUsed && _blockchain === 'evm' && !issuer.oAuth2options && !useOauth
const sociosEnabled = blockChainUsed && _blockchain === 'evm' && issuer.oAuth2options && useOauth
const fallBackToEVM = _blockchain === 'evm' && !issuerBlockChain && !useOauth
Expand Down

0 comments on commit ca85150

Please sign in to comment.