aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-08-26 06:46:44 +0800
committerGitHub <noreply@github.com>2016-08-26 06:46:44 +0800
commit78f73038e789f4483f728a7cc9ea1c68b0b3d7fa (patch)
treea838945b8518079e0e1022bb176a544d11a2ab50 /ui/app/app.js
parentb6b57d928a8854baf674763211c407bb4c976dba (diff)
parent8b81009a307eaf5384a2ab364a717f5188b3c501 (diff)
downloadtangerine-wallet-browser-78f73038e789f4483f728a7cc9ea1c68b0b3d7fa.tar.gz
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.js5
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