|
|
|
@ -132,7 +132,8 @@ export class RunTab extends ViewPlugin { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// basic injected
|
|
|
|
|
if (window && window.ethereum) { |
|
|
|
|
// if it's the trust wallet provider, we have a specific provider for that, see below
|
|
|
|
|
if (window && window.ethereum && !window.ethereum.selectedProvider?.isTrustWallet) { |
|
|
|
|
const displayNameInjected = `Injected Provider${(window && window.ethereum && !(window.ethereum.providers && !window.ethereum.selectedProvider)) ? |
|
|
|
|
window.ethereum.isCoinbaseWallet || window.ethereum.selectedProvider?.isCoinbaseWallet ? ' - Coinbase' : |
|
|
|
|
window.ethereum.isBraveWallet || window.ethereum.selectedProvider?.isBraveWallet ? ' - Brave' : |
|
|
|
|