diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-07-04 06:06:26 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-07-04 06:06:26 +0800 |
commit | 4e4d6cea403373e7f7d493775981cfa2a97da5f4 (patch) | |
tree | 31440e00a9d9e42252c2f6ae149984ab3b0b89bc /ui/app/components | |
parent | fa533469cb6ddc5b5142afed2b4950565494d5a0 (diff) | |
download | tangerine-wallet-browser-4e4d6cea403373e7f7d493775981cfa2a97da5f4.tar.gz tangerine-wallet-browser-4e4d6cea403373e7f7d493775981cfa2a97da5f4.tar.zst tangerine-wallet-browser-4e4d6cea403373e7f7d493775981cfa2a97da5f4.zip |
Add menu carrat next to network searching indicator
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/network.js | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js index 31a8fc17c..d5d3e18cd 100644 --- a/ui/app/components/network.js +++ b/ui/app/components/network.js @@ -22,15 +22,24 @@ Network.prototype.render = function () { let iconName, hoverText if (networkNumber === 'loading') { - return h('img.network-indicator', { - title: 'Attempting to connect to blockchain.', - onClick: (event) => this.props.onClick(event), + return h('span', { style: { - width: '27px', - marginRight: '-27px', + display: 'flex', + alignItems: 'center', + flexDirection: 'row', }, - src: 'images/loading.svg', - }) + onClick: (event) => this.props.onClick(event), + }, [ + h('img', { + title: 'Attempting to connect to blockchain.', + style: { + width: '27px', + }, + src: 'images/loading.svg', + }), + h('i.fa.fa-sort-desc'), + ]) + } else if (providerName === 'mainnet') { hoverText = 'Main Ethereum Network' iconName = 'ethereum-network' |