Update option names

pull/5370/head
taycaldwell 2 years ago committed by Aniket
parent 3ad9218958
commit 643f3dff65
  1. 9
      libs/remix-ui/run-tab/src/lib/reducers/runTab.ts

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

Loading…
Cancel
Save