mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #1119 from MetaMask/i1089-networkfront
Network display/change on lock screen
This commit is contained in:
commit
fc77a36a55
@ -3,6 +3,13 @@
|
|||||||
## Current Master
|
## Current Master
|
||||||
- net_version has been made synchronous.
|
- net_version has been made synchronous.
|
||||||
- Test suite for migrations expanded.
|
- Test suite for migrations expanded.
|
||||||
|
- Network now changeable from lock screen.
|
||||||
|
|
||||||
|
- Improve test coverage of eth.sign behavior, including a code example of verifying a signature.
|
||||||
|
|
||||||
|
## 3.2.2 2017-2-8
|
||||||
|
|
||||||
|
- Revert eth.sign behavior to the previous one with a big warning. We will be gradually implementing the new behavior over the coming time. https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign
|
||||||
|
|
||||||
- Improve test coverage of eth.sign behavior, including a code example of verifying a signature.
|
- Improve test coverage of eth.sign behavior, including a code example of verifying a signature.
|
||||||
|
|
||||||
|
@ -122,9 +122,9 @@ App.prototype.renderAppBar = function () {
|
|||||||
background: props.isUnlocked ? 'white' : 'none',
|
background: props.isUnlocked ? 'white' : 'none',
|
||||||
height: '36px',
|
height: '36px',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
zIndex: 2,
|
zIndex: 10,
|
||||||
},
|
},
|
||||||
}, props.isUnlocked && [
|
}, [
|
||||||
|
|
||||||
h('div', {
|
h('div', {
|
||||||
style: {
|
style: {
|
||||||
@ -159,14 +159,14 @@ App.prototype.renderAppBar = function () {
|
|||||||
]),
|
]),
|
||||||
|
|
||||||
// metamask name
|
// metamask name
|
||||||
h('h1', {
|
props.isUnlocked && h('h1', {
|
||||||
style: {
|
style: {
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
left: '9px',
|
left: '9px',
|
||||||
},
|
},
|
||||||
}, 'MetaMask'),
|
}, 'MetaMask'),
|
||||||
|
|
||||||
h('div', {
|
props.isUnlocked && h('div', {
|
||||||
style: {
|
style: {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
@ -175,7 +175,7 @@ App.prototype.renderAppBar = function () {
|
|||||||
}, [
|
}, [
|
||||||
|
|
||||||
// small accounts nav
|
// small accounts nav
|
||||||
h(Tooltip, { title: 'Switch Accounts' }, [
|
props.isUnlocked && h(Tooltip, { title: 'Switch Accounts' }, [
|
||||||
h('img.cursor-pointer.color-orange', {
|
h('img.cursor-pointer.color-orange', {
|
||||||
src: 'images/switch_acc.svg',
|
src: 'images/switch_acc.svg',
|
||||||
style: {
|
style: {
|
||||||
@ -190,7 +190,7 @@ App.prototype.renderAppBar = function () {
|
|||||||
]),
|
]),
|
||||||
|
|
||||||
// hamburger
|
// hamburger
|
||||||
h(SandwichExpando, {
|
props.isUnlocked && h(SandwichExpando, {
|
||||||
width: 16,
|
width: 16,
|
||||||
barHeight: 2,
|
barHeight: 2,
|
||||||
padding: 0,
|
padding: 0,
|
||||||
@ -262,7 +262,7 @@ App.prototype.renderNetworkDropdown = function () {
|
|||||||
|
|
||||||
this.renderCustomOption(props.provider),
|
this.renderCustomOption(props.provider),
|
||||||
|
|
||||||
h(DropMenuItem, {
|
props.isUnlocked && h(DropMenuItem, {
|
||||||
label: 'Custom RPC',
|
label: 'Custom RPC',
|
||||||
closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
|
closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
|
||||||
action: () => this.props.dispatch(actions.showConfigPage()),
|
action: () => this.props.dispatch(actions.showConfigPage()),
|
||||||
|
@ -27,7 +27,7 @@ Mascot.prototype.render = function () {
|
|||||||
this.handleAnimationEvents()
|
this.handleAnimationEvents()
|
||||||
|
|
||||||
return h('#metamask-mascot-container', {
|
return h('#metamask-mascot-container', {
|
||||||
style: { zIndex: 2 },
|
style: { zIndex: 0 },
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user