mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
Merge pull request #311 from MetaMask/settings
Remove network option buttons
This commit is contained in:
commit
9fb3ee9846
@ -2,6 +2,7 @@
|
||||
|
||||
## Current Master
|
||||
|
||||
- Remove redundant network option buttons from settings page
|
||||
- Switch out font family Transat for Montserrat
|
||||
|
||||
## 2.4.2 2016-06-22
|
||||
|
@ -73,43 +73,6 @@ ConfigScreen.prototype.render = function () {
|
||||
},
|
||||
}, '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('div', {
|
||||
|
Loading…
Reference in New Issue
Block a user