aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-06-29 03:57:06 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-06-29 03:57:06 +0800
commit16566ee7dbe00c40941b0ed3c7f3b96179cae3aa (patch)
tree9e9749754f8eb8b8360eb72c534de4f4ee94a2cd /ui
parentc11520306366ec4a3d75c7ee48f6c1b1dd56399e (diff)
downloadtangerine-wallet-browser-16566ee7dbe00c40941b0ed3c7f3b96179cae3aa.tar
tangerine-wallet-browser-16566ee7dbe00c40941b0ed3c7f3b96179cae3aa.tar.gz
tangerine-wallet-browser-16566ee7dbe00c40941b0ed3c7f3b96179cae3aa.tar.bz2
tangerine-wallet-browser-16566ee7dbe00c40941b0ed3c7f3b96179cae3aa.tar.lz
tangerine-wallet-browser-16566ee7dbe00c40941b0ed3c7f3b96179cae3aa.tar.xz
tangerine-wallet-browser-16566ee7dbe00c40941b0ed3c7f3b96179cae3aa.tar.zst
tangerine-wallet-browser-16566ee7dbe00c40941b0ed3c7f3b96179cae3aa.zip
Move clearNotifications to popup.js
Diffstat (limited to 'ui')
-rw-r--r--ui/app/app.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index ef436d4e3..80521d220 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -325,7 +325,6 @@ App.prototype.renderPrimary = function () {
return h(SendTransactionScreen, {key: 'send-transaction'})
case 'confTx':
- this.clearNotifications()
return h(ConfirmTxScreen, {key: 'confirm-tx'})
case 'config':
@@ -356,11 +355,3 @@ App.prototype.toggleMetamaskActive = function () {
this.props.dispatch(actions.lockMetamask(false))
}
}
-
-App.prototype.clearNotifications = function () {
- chrome.notifications.getAll(function (object) {
- for (let notification in object){
- chrome.notifications.clear(notification)
- }
- })
-}