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:
parent
64a82fd3da
commit
a61227f224
@ -14,7 +14,7 @@ class ExtensionPlatform {
|
||||
extension.tabs.create({ url })
|
||||
}
|
||||
|
||||
closeCurrentWindow (cb) {
|
||||
closeCurrentWindow () {
|
||||
return extension.windows.getCurrent((windowDetails) => {
|
||||
return extension.windows.remove(windowDetails.id)
|
||||
})
|
||||
|
@ -64,7 +64,6 @@ async function start () {
|
||||
css = betaUIState ? NewMetaMaskUiCss() : OldMetaMaskUiCss()
|
||||
deleteInjectedCss = injectCss(css)
|
||||
}
|
||||
// if (state.appState.shouldClose) notificationManager.closePopup()
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user