mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Change networks from lock screen.
This commit is contained in:
parent
cdd4faa917
commit
fbabcf6191
@ -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,
|
||||||
|
@ -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