diff options
author | Thomas Huang <thomas.b.huang@gmail.com> | 2017-05-16 10:11:16 +0800 |
---|---|---|
committer | Thomas Huang <thomas.b.huang@gmail.com> | 2017-05-16 10:11:16 +0800 |
commit | 3367363b1234a076695758762d7f1220fe4a7f8c (patch) | |
tree | ebcc8771da1e34491e3687035c754effe0c5beaa /ui | |
parent | 62ee03888944e0795be81b01a8bb9021db40402b (diff) | |
download | tangerine-wallet-browser-3367363b1234a076695758762d7f1220fe4a7f8c.tar tangerine-wallet-browser-3367363b1234a076695758762d7f1220fe4a7f8c.tar.gz tangerine-wallet-browser-3367363b1234a076695758762d7f1220fe4a7f8c.tar.bz2 tangerine-wallet-browser-3367363b1234a076695758762d7f1220fe4a7f8c.tar.lz tangerine-wallet-browser-3367363b1234a076695758762d7f1220fe4a7f8c.tar.xz tangerine-wallet-browser-3367363b1234a076695758762d7f1220fe4a7f8c.tar.zst tangerine-wallet-browser-3367363b1234a076695758762d7f1220fe4a7f8c.zip |
Remove all traces of testnet
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/app.js | 2 | ||||
-rw-r--r-- | ui/app/components/drop-menu-item.js | 2 | ||||
-rw-r--r-- | ui/app/components/network.js | 2 | ||||
-rw-r--r-- | ui/app/config.js | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index d096ca531..6e5aa57cd 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -267,7 +267,7 @@ App.prototype.renderNetworkDropdown = function () { h(DropMenuItem, { label: 'Rinkeby Test Network', closeMenu: () => this.setState({ isNetworkMenuOpen: false}), - action: () => props.dispatch(actions.setProviderType('testnet')), + action: () => props.dispatch(actions.setProviderType('rinkeby')), icon: h('.menu-icon.golden-square'), activeNetworkRender: props.network, provider: props.provider, diff --git a/ui/app/components/drop-menu-item.js b/ui/app/components/drop-menu-item.js index 27c2afde3..e42948209 100644 --- a/ui/app/components/drop-menu-item.js +++ b/ui/app/components/drop-menu-item.js @@ -48,7 +48,7 @@ DropMenuItem.prototype.activeNetworkRender = function () { if (providerType === 'kovan') return h('.check', '✓') break case 'Rinkeby Test Network': - if (providerType === 'testnet') return h('.check', '✓') + if (providerType === 'rinkeby') 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 1e7c082e1..31a8fc17c 100644 --- a/ui/app/components/network.js +++ b/ui/app/components/network.js @@ -43,7 +43,7 @@ Network.prototype.render = function () { } else if (providerName === 'kovan') { hoverText = 'Kovan Test Network' iconName = 'kovan-test-network' - } else if (providerName === 'testnet') { + } else if (providerName === 'rinkeby') { hoverText = 'Rinkeby Test Network' iconName = 'rinkeby-test-network' } else { diff --git a/ui/app/config.js b/ui/app/config.js index 26cfe663f..d7be26757 100644 --- a/ui/app/config.js +++ b/ui/app/config.js @@ -156,7 +156,7 @@ function currentProviderDisplay (metamaskState) { value = 'Main Ethereum Network' break - case 'testnet': + case 'ropsten': title = 'Current Network' value = 'Ropsten Test Network' break |