Skip to content

Commit

Permalink
Merge pull request #853 from TokenScript/feature/text-config
Browse files Browse the repository at this point in the history
added logic for flow waller to display with new rules
  • Loading branch information
nicktaras authored Sep 29, 2023
2 parents 5fd6bc5 + 98d1f1a commit 75ae901
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 flowEnabled = blockChainUsed && _blockchain === 'flow'
const evmEnabled = blockChainUsed && _blockchain === 'evm' && !issuer.oAuth2options && !useOauth
const sociosEnabled = blockChainUsed && _blockchain === 'evm' && issuer.oAuth2options && useOauth
Expand Down

0 comments on commit 75ae901

Please sign in to comment.