diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-08-26 06:46:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-26 06:46:44 +0800 |
commit | 78f73038e789f4483f728a7cc9ea1c68b0b3d7fa (patch) | |
tree | a838945b8518079e0e1022bb176a544d11a2ab50 /ui/app/app.js | |
parent | b6b57d928a8854baf674763211c407bb4c976dba (diff) | |
parent | 8b81009a307eaf5384a2ab364a717f5188b3c501 (diff) | |
download | tangerine-wallet-browser-78f73038e789f4483f728a7cc9ea1c68b0b3d7fa.tar tangerine-wallet-browser-78f73038e789f4483f728a7cc9ea1c68b0b3d7fa.tar.gz tangerine-wallet-browser-78f73038e789f4483f728a7cc9ea1c68b0b3d7fa.tar.bz2 tangerine-wallet-browser-78f73038e789f4483f728a7cc9ea1c68b0b3d7fa.tar.lz tangerine-wallet-browser-78f73038e789f4483f728a7cc9ea1c68b0b3d7fa.tar.xz tangerine-wallet-browser-78f73038e789f4483f728a7cc9ea1c68b0b3d7fa.tar.zst tangerine-wallet-browser-78f73038e789f4483f728a7cc9ea1c68b0b3d7fa.zip |
Merge pull request #554 from MetaMask/PopupNotifications
Replace chrome notifications with windows.create
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 84ff16ec8..53ab7dd00 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -96,6 +96,11 @@ App.prototype.render = function () { } App.prototype.renderAppBar = function () { + + if (window.METAMASK_UI_TYPE === 'notification') { + return null + } + const props = this.props const state = this.state || {} const isNetworkMenuOpen = state.isNetworkMenuOpen || false |