aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-07-25 01:31:03 +0800
committerDan Miller <danjm.com@gmail.com>2018-07-25 01:31:03 +0800
commita61227f224e37559c8d6e2c59441b0032633feaf (patch)
tree488a05c492ba520772f6dedd497166374d24b9e5 /app/scripts
parent64a82fd3dae66f33b0934d58e43e85df27fbfe1d (diff)
downloadtangerine-wallet-browser-a61227f224e37559c8d6e2c59441b0032633feaf.tar
tangerine-wallet-browser-a61227f224e37559c8d6e2c59441b0032633feaf.tar.gz
tangerine-wallet-browser-a61227f224e37559c8d6e2c59441b0032633feaf.tar.bz2
tangerine-wallet-browser-a61227f224e37559c8d6e2c59441b0032633feaf.tar.lz
tangerine-wallet-browser-a61227f224e37559c8d6e2c59441b0032633feaf.tar.xz
tangerine-wallet-browser-a61227f224e37559c8d6e2c59441b0032633feaf.tar.zst
tangerine-wallet-browser-a61227f224e37559c8d6e2c59441b0032633feaf.zip
Remove unneeded code from i4829-close-notifications-from-ui branch.
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/platforms/extension.js2
-rw-r--r--app/scripts/ui.js1
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()
})
})