|
|
@ -138,11 +138,10 @@ export const runTabInitialState: RunTabState = { |
|
|
|
dataId: 'settingsInjectedMode', |
|
|
|
dataId: 'settingsInjectedMode', |
|
|
|
title: 'Execution environment has been provided by Metamask or similar provider.', |
|
|
|
title: 'Execution environment has been provided by Metamask or similar provider.', |
|
|
|
value: 'injected', |
|
|
|
value: 'injected', |
|
|
|
content: `${(window && window.ethereum && !(window.ethereum.providers && !window.ethereum.selectedProvider)) ? |
|
|
|
content: `Injected Provider${(window && window.ethereum && !(window.ethereum.providers && !window.ethereum.selectedProvider)) ? |
|
|
|
window.ethereum.isCoinbaseWallet || window.ethereum.selectedProvider?.isCoinbaseWallet ? 'Coinbase Wallet' : |
|
|
|
window.ethereum.isCoinbaseWallet || window.ethereum.selectedProvider?.isCoinbaseWallet ? ' - Coinbase' : |
|
|
|
window.ethereum.isBraveWallet || window.ethereum.selectedProvider?.isBraveWallet ? 'Brave Wallet' : |
|
|
|
window.ethereum.isBraveWallet || window.ethereum.selectedProvider?.isBraveWallet ? ' - Brave' : |
|
|
|
window.ethereum.isMetaMask || window.ethereum.selectedProvider?.isMetaMask ? 'MetaMask' : |
|
|
|
window.ethereum.isMetaMask || window.ethereum.selectedProvider?.isMetaMask ? ' - MetaMask' : '' : ''}` |
|
|
|
'Injected Provider' : 'Injected Provider'}` |
|
|
|
|
|
|
|
}], |
|
|
|
}], |
|
|
|
isRequesting: false, |
|
|
|
isRequesting: false, |
|
|
|
isSuccessful: false, |
|
|
|
isSuccessful: false, |
|
|
|