1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Remove unneeded code from i4829-close-notifications-from-ui branch.

This commit is contained in:
Dan Miller 2018-07-24 15:01:03 -02:30
parent 64a82fd3da
commit a61227f224
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,7 @@ class ExtensionPlatform {
extension.tabs.create({ url })
}
closeCurrentWindow (cb) {
closeCurrentWindow () {
return extension.windows.getCurrent((windowDetails) => {
return extension.windows.remove(windowDetails.id)
})

View File

@ -64,7 +64,6 @@ async function start () {
css = betaUIState ? NewMetaMaskUiCss() : OldMetaMaskUiCss()
deleteInjectedCss = injectCss(css)
}
// if (state.appState.shouldClose) notificationManager.closePopup()
})
})