aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-02-16 07:35:56 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-02-16 07:35:56 +0800
commitfbabcf61918bcc99b3b57d579d142b50e96144ec (patch)
tree90623e7ff1cd90a282bcd0947f009dc4f0863abc /ui/app/app.js
parentcdd4faa917a2f02b531c479eb2f05f39f303d51b (diff)
downloadtangerine-wallet-browser-fbabcf61918bcc99b3b57d579d142b50e96144ec.tar
tangerine-wallet-browser-fbabcf61918bcc99b3b57d579d142b50e96144ec.tar.gz
tangerine-wallet-browser-fbabcf61918bcc99b3b57d579d142b50e96144ec.tar.bz2
tangerine-wallet-browser-fbabcf61918bcc99b3b57d579d142b50e96144ec.tar.lz
tangerine-wallet-browser-fbabcf61918bcc99b3b57d579d142b50e96144ec.tar.xz
tangerine-wallet-browser-fbabcf61918bcc99b3b57d579d142b50e96144ec.tar.zst
tangerine-wallet-browser-fbabcf61918bcc99b3b57d579d142b50e96144ec.zip
Change networks from lock screen.
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 8aae38067..01e36cc62 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -122,9 +122,9 @@ App.prototype.renderAppBar = function () {
background: props.isUnlocked ? 'white' : 'none',
height: '36px',
position: 'relative',
- zIndex: 2,
+ zIndex: 10,
},
- }, props.isUnlocked && [
+ }, [
h('div', {
style: {
@@ -159,14 +159,14 @@ App.prototype.renderAppBar = function () {
]),
// metamask name
- h('h1', {
+ props.isUnlocked && h('h1', {
style: {
position: 'relative',
left: '9px',
},
}, 'MetaMask'),
- h('div', {
+ props.isUnlocked && h('div', {
style: {
display: 'flex',
flexDirection: 'row',
@@ -175,7 +175,7 @@ App.prototype.renderAppBar = function () {
}, [
// small accounts nav
- h(Tooltip, { title: 'Switch Accounts' }, [
+ props.isUnlocked && h(Tooltip, { title: 'Switch Accounts' }, [
h('img.cursor-pointer.color-orange', {
src: 'images/switch_acc.svg',
style: {
@@ -190,7 +190,7 @@ App.prototype.renderAppBar = function () {
]),
// hamburger
- h(SandwichExpando, {
+ props.isUnlocked && h(SandwichExpando, {
width: 16,
barHeight: 2,
padding: 0,