aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorThomas Huang <thomas.b.huang@gmail.com>2017-05-16 09:05:11 +0800
committerThomas Huang <thomas.b.huang@gmail.com>2017-05-16 09:05:11 +0800
commit4c10e2021aa0cdc4f34a22368a37c76e0e1fea22 (patch)
treec712c317f509b0d9ee6ae2ee43724b87db7b801e /ui/app/components
parent117cf9c331468390867323000a233b510c47fee1 (diff)
downloadtangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar
tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar.gz
tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar.bz2
tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar.lz
tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar.xz
tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.tar.zst
tangerine-wallet-browser-4c10e2021aa0cdc4f34a22368a37c76e0e1fea22.zip
Change default network to rinkeby
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/drop-menu-item.js4
-rw-r--r--ui/app/components/network.js6
2 files changed, 5 insertions, 5 deletions
diff --git a/ui/app/components/drop-menu-item.js b/ui/app/components/drop-menu-item.js
index bd9d8f597..27c2afde3 100644
--- a/ui/app/components/drop-menu-item.js
+++ b/ui/app/components/drop-menu-item.js
@@ -42,13 +42,13 @@ DropMenuItem.prototype.activeNetworkRender = function () {
if (providerType === 'mainnet') return h('.check', '✓')
break
case 'Ropsten Test Network':
- if (providerType === 'testnet') return h('.check', '✓')
+ if (providerType === 'ropsten') return h('.check', '✓')
break
case 'Kovan Test Network':
if (providerType === 'kovan') return h('.check', '✓')
break
case 'Rinkeby Test Network':
- if (providerType === 'rinkeby') return h('.check', '✓')
+ if (providerType === 'testnet') return h('.check', '✓')
break
case 'Localhost 8545':
if (activeNetwork === 'http://localhost:8545') return h('.check', '✓')
diff --git a/ui/app/components/network.js b/ui/app/components/network.js
index f7ea8c49e..1e7c082e1 100644
--- a/ui/app/components/network.js
+++ b/ui/app/components/network.js
@@ -34,7 +34,7 @@ Network.prototype.render = function () {
} else if (providerName === 'mainnet') {
hoverText = 'Main Ethereum Network'
iconName = 'ethereum-network'
- } else if (providerName === 'testnet') {
+ } else if (providerName === 'ropsten') {
hoverText = 'Ropsten Test Network'
iconName = 'ropsten-test-network'
} else if (parseInt(networkNumber) === 3) {
@@ -43,7 +43,7 @@ Network.prototype.render = function () {
} else if (providerName === 'kovan') {
hoverText = 'Kovan Test Network'
iconName = 'kovan-test-network'
- } else if (providerName === 'rinkeby') {
+ } else if (providerName === 'testnet') {
hoverText = 'Rinkeby Test Network'
iconName = 'rinkeby-test-network'
} else {
@@ -90,7 +90,7 @@ Network.prototype.render = function () {
h('.menu-icon.golden-square'),
h('.network-name', {
style: {
- color: '#550077',
+ color: '#e7a218',
}},
'Rinkeby Test Net'),
])