aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers
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/reducers
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/reducers')
-rw-r--r--ui/app/reducers/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 8c2696877..da2c6e371 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -1,6 +1,7 @@
const extend = require('xtend')
const actions = require('../actions')
const txHelper = require('../../lib/tx-helper')
+const notification = require('../../../app/scripts/lib/notifications')
module.exports = reduceApp
@@ -250,6 +251,9 @@ function reduceApp (state, action) {
warning: null,
})
} else {
+
+ notification.closePopup()
+
return extend(appState, {
transForward: false,
warning: null,
@@ -515,4 +519,3 @@ function indexForPending (state, txId) {
return idx
}
-