From 98d1f1a2aa63c33a95b53de28971139c8db1ec87 Mon Sep 17 00:00:00 2001 From: Nick Taras Date: Fri, 29 Sep 2023 17:15:12 +1000 Subject: [PATCH] added logic for flow waller to display with new rules --- src/client/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/index.ts b/src/client/index.ts index 99c02eb7..8a484875 100644 --- a/src/client/index.ts +++ b/src/client/index.ts @@ -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