diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-27 09:04:03 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-27 09:04:03 +0800 |
commit | 69f4c8c336a0f2fad2027c4a5f76e28a976b5e75 (patch) | |
tree | c34647abca3a765d525e222855a7a93f4658f800 /app/scripts/platforms | |
parent | d4a15f22c24074f44daa9eeb4fda192ea3742792 (diff) | |
parent | e715d0e6915a9bb0ac69db06144253ddff54ba44 (diff) | |
download | tangerine-wallet-browser-69f4c8c336a0f2fad2027c4a5f76e28a976b5e75.tar.gz tangerine-wallet-browser-69f4c8c336a0f2fad2027c4a5f76e28a976b5e75.tar.zst tangerine-wallet-browser-69f4c8c336a0f2fad2027c4a5f76e28a976b5e75.zip |
fix merge conflicts
Diffstat (limited to 'app/scripts/platforms')
-rw-r--r-- | app/scripts/platforms/extension.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js index 452a51bd8..844670537 100644 --- a/app/scripts/platforms/extension.js +++ b/app/scripts/platforms/extension.js @@ -13,6 +13,12 @@ class ExtensionPlatform { extension.tabs.create({ url }) } + closeCurrentWindow () { + return extension.windows.getCurrent((windowDetails) => { + return extension.windows.remove(windowDetails.id) + }) + } + getVersion () { return extension.runtime.getManifest().version } |