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/reducers/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/reducers/app.js')
-rw-r--r-- | ui/app/reducers/app.js | 5 |
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 } - |