diff options
author | Frankie <frankie.diamond@gmail.com> | 2016-12-17 01:48:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-17 01:48:03 +0800 |
commit | d5569781ba2668df78ab7cf0f20ac93f84cafadb (patch) | |
tree | 3a72973fc026e9d2ff941d7b195542168cde78fe /ui | |
parent | ff94cf6d10ec4427a758076e080df9c3e383497c (diff) | |
parent | 4f3ba6e0b8c685f79d46da30c88e22434e220bd9 (diff) | |
download | tangerine-wallet-browser-d5569781ba2668df78ab7cf0f20ac93f84cafadb.tar tangerine-wallet-browser-d5569781ba2668df78ab7cf0f20ac93f84cafadb.tar.gz tangerine-wallet-browser-d5569781ba2668df78ab7cf0f20ac93f84cafadb.tar.bz2 tangerine-wallet-browser-d5569781ba2668df78ab7cf0f20ac93f84cafadb.tar.lz tangerine-wallet-browser-d5569781ba2668df78ab7cf0f20ac93f84cafadb.tar.xz tangerine-wallet-browser-d5569781ba2668df78ab7cf0f20ac93f84cafadb.tar.zst tangerine-wallet-browser-d5569781ba2668df78ab7cf0f20ac93f84cafadb.zip |
Merge pull request #923 from MetaMask/RemoveMorden
Remove morden
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/app.js | 9 | ||||
-rw-r--r-- | ui/app/components/drop-menu-item.js | 3 | ||||
-rw-r--r-- | ui/app/components/network.js | 12 | ||||
-rw-r--r-- | ui/app/config.js | 2 |
4 files changed, 1 insertions, 25 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 3a3b234cc..0646e3165 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -244,15 +244,6 @@ App.prototype.renderNetworkDropdown = function () { }), h(DropMenuItem, { - label: 'Morden Test Network', - closeMenu: () => this.setState({ isNetworkMenuOpen: false }), - action: () => props.dispatch(actions.setProviderType('morden')), - icon: h('.menu-icon.red-dot'), - activeNetworkRender: props.network, - provider: props.provider, - }), - - h(DropMenuItem, { label: 'Localhost 8545', closeMenu: () => this.setState({ isNetworkMenuOpen: false }), action: () => props.dispatch(actions.setRpcTarget('http://localhost:8545')), diff --git a/ui/app/components/drop-menu-item.js b/ui/app/components/drop-menu-item.js index b82114f03..ac0aecadd 100644 --- a/ui/app/components/drop-menu-item.js +++ b/ui/app/components/drop-menu-item.js @@ -44,9 +44,6 @@ DropMenuItem.prototype.activeNetworkRender = function () { case 'Ropsten Test Network': if (provider.type === 'testnet') return h('.check', '✓') break - case 'Morden Test Network': - if (provider.type === 'morden') return h('.check', '✓') - break case 'Localhost 8545': if (activeNetwork === 'http://localhost:8545') return h('.check', '✓') break diff --git a/ui/app/components/network.js b/ui/app/components/network.js index b7d3cdbf5..1f61ef73f 100644 --- a/ui/app/components/network.js +++ b/ui/app/components/network.js @@ -42,9 +42,6 @@ Network.prototype.render = function () { } else if (parseInt(networkNumber) === 3) { hoverText = 'Ropsten Test Network' iconName = 'ropsten-test-network' - } else if (parseInt(networkNumber) === 2) { - hoverText = 'Morden Test Network' - iconName = 'morden-test-network' } else { hoverText = 'Unknown Private Network' iconName = 'unknown-private-network' @@ -79,15 +76,6 @@ Network.prototype.render = function () { }}, 'Ropsten Test Net'), ]) - case 'morden-test-network': - return h('.network-indicator', [ - h('.menu-icon.red-dot'), - h('.network-name', { - style: { - color: '#ff6666', - }}, - 'Morden Test Net'), - ]) default: return h('.network-indicator', [ h('i.fa.fa-question-circle.fa-lg', { diff --git a/ui/app/config.js b/ui/app/config.js index e09a38cd8..8824c6bec 100644 --- a/ui/app/config.js +++ b/ui/app/config.js @@ -133,7 +133,7 @@ function currentProviderDisplay (metamaskState) { case 'testnet': title = 'Current Network' - value = 'Morden Test Network' + value = 'Ropsten Test Network' break default: |