aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-07-21 07:58:03 +0800
committerEsteban MIno <efmino@uc.cl>2018-07-21 07:58:03 +0800
commit9c955549338f49d8b5eb6ca003c2c65c725aa328 (patch)
tree85896b5860ddc29f68168917d33c691e5e007e3f /app/scripts/metamask-controller.js
parente6ca7948e75af8e9a8b8ceb62de9ebb573fe33b3 (diff)
downloadtangerine-wallet-browser-9c955549338f49d8b5eb6ca003c2c65c725aa328.tar
tangerine-wallet-browser-9c955549338f49d8b5eb6ca003c2c65c725aa328.tar.gz
tangerine-wallet-browser-9c955549338f49d8b5eb6ca003c2c65c725aa328.tar.bz2
tangerine-wallet-browser-9c955549338f49d8b5eb6ca003c2c65c725aa328.tar.lz
tangerine-wallet-browser-9c955549338f49d8b5eb6ca003c2c65c725aa328.tar.xz
tangerine-wallet-browser-9c955549338f49d8b5eb6ca003c2c65c725aa328.tar.zst
tangerine-wallet-browser-9c955549338f49d8b5eb6ca003c2c65c725aa328.zip
fix detection on submit password
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 4e97ce583..d3650815e 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -1274,16 +1274,15 @@ module.exports = class MetamaskController extends EventEmitter {
set isClientOpen (open) {
this._isClientOpen = open
this.isClientOpenAndUnlocked = this.getState().isUnlocked && open
+ this.detectTokensController.isOpen = open
}
/**
- * A method for activating the retrieval of price data and auto detect tokens,
- * which should only be fetched when the UI is visible.
+ * A method for activating the retrieval of price data, which should only be fetched when the UI is visible.
* @private
* @param {boolean} active - True if price data should be getting fetched.
*/
set isClientOpenAndUnlocked (active) {
this.tokenRatesController.isActive = active
- this.detectTokensController.isActive = active
}
}