paltalabs / soroban-react

@soroban-react is a simple, powerful framework for building modern Soroban dApps using React.
https://soroban-react.paltalabs.io/
Apache License 2.0
31 stars 15 forks source link

fix xbull isConnected method #97

Closed abstract829 closed 3 months ago

abstract829 commented 4 months ago

xbull has hardcoded 'true' in the isConnected method



  return {
    id: 'xbull',
    name: 'XBull',
    iconUrl: 'https://stellar.creit.tech/wallet-icons/xbull.svg',
    // iconUrl: async () => (await import('./freighter.svg')).default,
    iconBackground: '#fff',
    // TODO: Check this
    installed: true,
    downloadUrls: {
      browserExtension:
        'https://chromewebstore.google.com/detail/xbull-wallet/omajpeaffjgmlpmhbfdjepdejoemifpe',
    },
    isConnected(): boolean {
      // return !!freighterApi?.isConnected()
      return true
    },
    ....```