Merge pull request #311 from MetaMask/settings

Remove network option buttons
feature/default_network_editable
Dan Finlay 8 years ago committed by GitHub
commit 9fb3ee9846
  1. 1
      CHANGELOG.md
  2. 37
      ui/app/config.js

@ -2,6 +2,7 @@
## Current Master ## Current Master
- Remove redundant network option buttons from settings page
- Switch out font family Transat for Montserrat - Switch out font family Transat for Montserrat
## 2.4.2 2016-06-22 ## 2.4.2 2016-06-22

@ -73,43 +73,6 @@ ConfigScreen.prototype.render = function () {
}, },
}, 'Save'), }, 'Save'),
]), ]),
h('div', [
h('button.spaced', {
style: {
alignSelf: 'center',
},
onClick (event) {
event.preventDefault()
state.dispatch(actions.setProviderType('mainnet'))
},
}, 'Use Main Network'),
]),
h('div', [
h('button.spaced', {
style: {
alignSelf: 'center',
},
onClick (event) {
event.preventDefault()
state.dispatch(actions.setProviderType('testnet'))
},
}, 'Use Morden Test Network'),
]),
h('div', [
h('button.spaced', {
style: {
alignSelf: 'center',
},
onClick (event) {
event.preventDefault()
state.dispatch(actions.setRpcTarget('http://localhost:8545/'))
},
}, 'Use http://localhost:8545'),
]),
h('hr.horizontal-line'), h('hr.horizontal-line'),
h('div', { h('div', {

Loading…
Cancel
Save