Skip to content

Commit

Permalink
added logic for flow waller to display with new rules
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 7a5d629 commit 98d1f1a
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 98d1f1a

Please sign in to comment.