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
26 stars 13 forks source link

fix xbull isConnected method #97

Open abstract829 opened 5 days ago

abstract829 commented 5 days 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
    },
    ....```