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:
parent
742a0e0dfe
commit
fd5dad136f
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user