1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove old notification cleanup code

This commit is contained in:
Dan Finlay 2016-08-29 17:33:56 -07:00
parent 742a0e0dfe
commit fd5dad136f

View File

@ -74,22 +74,12 @@ function getCurrentDomain (cb) {
})
}
function clearNotifications(){
extension.notifications.getAll(function (object) {
for (let notification in object){
extension.notifications.clear(notification)
}
})
}
function setupApp (err, opts) {
if (err) {
alert(err.stack)
throw err
}
clearNotifications()
var container = document.getElementById('app-content')
MetaMaskUi({