diff options
author | Dan Miller <danjm.com@gmail.com> | 2018-07-25 01:31:03 +0800 |
---|---|---|
committer | Dan Miller <danjm.com@gmail.com> | 2018-07-25 01:31:03 +0800 |
commit | a61227f224e37559c8d6e2c59441b0032633feaf (patch) | |
tree | 488a05c492ba520772f6dedd497166374d24b9e5 | |
parent | 64a82fd3dae66f33b0934d58e43e85df27fbfe1d (diff) | |
download | tangerine-wallet-browser-a61227f224e37559c8d6e2c59441b0032633feaf.tar.gz tangerine-wallet-browser-a61227f224e37559c8d6e2c59441b0032633feaf.tar.zst tangerine-wallet-browser-a61227f224e37559c8d6e2c59441b0032633feaf.zip |
Remove unneeded code from i4829-close-notifications-from-ui branch.
-rw-r--r-- | app/scripts/platforms/extension.js | 2 | ||||
-rw-r--r-- | app/scripts/ui.js | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js index bd4f7bd9f..0803164e8 100644 --- a/app/scripts/platforms/extension.js +++ b/app/scripts/platforms/extension.js @@ -14,7 +14,7 @@ class ExtensionPlatform { extension.tabs.create({ url }) } - closeCurrentWindow (cb) { + closeCurrentWindow () { return extension.windows.getCurrent((windowDetails) => { return extension.windows.remove(windowDetails.id) }) diff --git a/app/scripts/ui.js b/app/scripts/ui.js index cbe15c92d..da100f928 100644 --- a/app/scripts/ui.js +++ b/app/scripts/ui.js @@ -64,7 +64,6 @@ async function start () { css = betaUIState ? NewMetaMaskUiCss() : OldMetaMaskUiCss() deleteInjectedCss = injectCss(css) } - // if (state.appState.shouldClose) notificationManager.closePopup() }) }) |