diff options
Diffstat (limited to 'ui/app/components')
4 files changed, 29 insertions, 29 deletions
diff --git a/ui/app/components/dropdowns/account-details-dropdown.js b/ui/app/components/dropdowns/account-details-dropdown.js index 7476cfdd..c4eed8a2 100644 --- a/ui/app/components/dropdowns/account-details-dropdown.js +++ b/ui/app/components/dropdowns/account-details-dropdown.js @@ -27,7 +27,7 @@ function mapDispatchToProps (dispatch) { showAccountDetailModal: () => { dispatch(actions.showModal({ name: 'ACCOUNT_DETAILS' })) }, - viewOnEtherscan: (address, network) => { + viewOnDexScan: (address, network) => { global.platform.openWindow({ url: genAccountLink(address, network) }) }, showRemoveAccountConfirmationModal: (identity) => { @@ -54,7 +54,7 @@ AccountDetailsDropdown.prototype.render = function () { network, keyrings, showAccountDetailModal, - viewOnEtherscan, + viewOnDexScan, showRemoveAccountConfirmationModal } = this.props const address = selectedIdentity.address @@ -90,10 +90,10 @@ AccountDetailsDropdown.prototype.render = function () { h(Item, { onClick: (e) => { e.stopPropagation() - viewOnEtherscan(address, network) + viewOnDexScan(address, network) this.props.onClose() }, - text: this.context.t('viewOnEtherscan'), + text: this.context.t('viewOnDexScan'), icon: h(`img`, { src: 'images/open-etherscan.svg', style: { height: '15px' } }), }), isRemovable ? h(Item, { diff --git a/ui/app/components/dropdowns/network-dropdown.js b/ui/app/components/dropdowns/network-dropdown.js index 28e3a5cf..61ea59fa 100644 --- a/ui/app/components/dropdowns/network-dropdown.js +++ b/ui/app/components/dropdowns/network-dropdown.js @@ -115,27 +115,27 @@ NetworkDropdown.prototype.render = function () { ), ]), - h( - DropdownMenuItem, - { - key: 'main', - closeMenu: () => this.props.hideNetworkDropdown(), - onClick: () => props.setProviderType('mainnet'), - style: { ...dropdownMenuItemStyle, borderColor: '#038789' }, - }, - [ - providerType === 'mainnet' ? h('i.fa.fa-check') : h('.network-check__transparent', '✓'), - h(NetworkDropdownIcon, { - backgroundColor: '#954A97', // $dexon-purple - isSelected: providerType === 'mainnet', - }), - h('span.network-name-item', { - style: { - color: providerType === 'mainnet' ? '#ffffff' : '#9b9b9b', - }, - }, this.context.t('mainnet')), - ] - ), + // h( + // DropdownMenuItem, + // { + // key: 'main', + // closeMenu: () => this.props.hideNetworkDropdown(), + // onClick: () => props.setProviderType('mainnet'), + // style: { ...dropdownMenuItemStyle, borderColor: '#038789' }, + // }, + // [ + // providerType === 'mainnet' ? h('i.fa.fa-check') : h('.network-check__transparent', '✓'), + // h(NetworkDropdownIcon, { + // backgroundColor: '#aeaeae', // $silver-chalice + // isSelected: providerType === 'mainnet', + // }), + // h('span.network-name-item', { + // style: { + // color: providerType === 'mainnet' ? '#ffffff' : '#9b9b9b', + // }, + // }, this.context.t('mainnet')), + // ] + // ), h( DropdownMenuItem, @@ -146,9 +146,9 @@ NetworkDropdown.prototype.render = function () { style: dropdownMenuItemStyle, }, [ - providerType === 'ropsten' ? h('i.fa.fa-check') : h('.network-check__transparent', '✓'), + providerType === 'testnet' ? h('i.fa.fa-check') : h('.network-check__transparent', '✓'), h(NetworkDropdownIcon, { - backgroundColor: '#aeaeae', // $silver-chalice + backgroundColor: '#954A97', // $dexon-purple isSelected: providerType === 'testnet', }), h('span.network-name-item', { diff --git a/ui/app/components/dropdowns/token-menu-dropdown.js b/ui/app/components/dropdowns/token-menu-dropdown.js index 8a072b1b..e1db4776 100644 --- a/ui/app/components/dropdowns/token-menu-dropdown.js +++ b/ui/app/components/dropdowns/token-menu-dropdown.js @@ -62,7 +62,7 @@ TokenMenuDropdown.prototype.render = function () { global.platform.openWindow({ url }) this.props.onClose() }, - text: this.context.t('viewOnEtherscan'), + text: this.context.t('viewOnDexScan'), }), ]) } diff --git a/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js b/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js index cc2c4529..c658ecf9 100644 --- a/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js +++ b/ui/app/components/transaction-list-item-details/transaction-list-item-details.component.js @@ -78,7 +78,7 @@ export default class TransactionListItemDetails extends PureComponent { </Button> ) } - <Tooltip title={t('viewOnEtherscan')}> + <Tooltip title={t('viewOnDexScan')}> <Button type="raised" onClick={this.handleEtherscanClick} |