diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-03-23 04:03:51 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-03-23 04:03:51 +0800 |
commit | 4757858df0ea63952ec8e435749a0f2df0782612 (patch) | |
tree | 95f004bdb50bfd7af7d48e8dea5bd83a3187b85a /ui | |
parent | b3dfc4e639bf4e73784d8a53227cfc0bc0a650fd (diff) | |
download | tangerine-wallet-browser-4757858df0ea63952ec8e435749a0f2df0782612.tar tangerine-wallet-browser-4757858df0ea63952ec8e435749a0f2df0782612.tar.gz tangerine-wallet-browser-4757858df0ea63952ec8e435749a0f2df0782612.tar.bz2 tangerine-wallet-browser-4757858df0ea63952ec8e435749a0f2df0782612.tar.lz tangerine-wallet-browser-4757858df0ea63952ec8e435749a0f2df0782612.tar.xz tangerine-wallet-browser-4757858df0ea63952ec8e435749a0f2df0782612.tar.zst tangerine-wallet-browser-4757858df0ea63952ec8e435749a0f2df0782612.zip |
Add conditional kovan to current network component.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/network.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js index 77805fd57..d9045167f 100644 --- a/ui/app/components/network.js +++ b/ui/app/components/network.js @@ -40,6 +40,9 @@ Network.prototype.render = function () { } else if (parseInt(networkNumber) === 3) { hoverText = 'Ropsten Test Network' iconName = 'ropsten-test-network' + } else if (providerName === 'kovan') { + hoverText = 'Kovan Test Network' + iconName = 'kovan-test-network' } else { hoverText = 'Unknown Private Network' iconName = 'unknown-private-network' @@ -70,6 +73,15 @@ Network.prototype.render = function () { }}, 'Ropsten Test Net'), ]) + case 'kovan-test-network': + return h('.network-indicator', [ + h('.menu-icon.hollow-diamond'), + h('.network-name', { + style: { + color: '#690496', + }}, + 'Kovan Test Net'), + ]) default: return h('.network-indicator', [ h('i.fa.fa-question-circle.fa-lg', { |