aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-06-15 05:21:50 +0800
committerDan Finlay <dan@danfinlay.com>2017-06-15 05:21:50 +0800
commitb7b9e0c1ac203d39196753f39f17a1fe2f4751e5 (patch)
tree278b3055a84952afbd063b9c95d10d4320e42048 /app/scripts/metamask-controller.js
parent3df2f2b2d4239a033ba23d14a75e0a10ece584aa (diff)
downloadtangerine-wallet-browser-b7b9e0c1ac203d39196753f39f17a1fe2f4751e5.tar
tangerine-wallet-browser-b7b9e0c1ac203d39196753f39f17a1fe2f4751e5.tar.gz
tangerine-wallet-browser-b7b9e0c1ac203d39196753f39f17a1fe2f4751e5.tar.bz2
tangerine-wallet-browser-b7b9e0c1ac203d39196753f39f17a1fe2f4751e5.tar.lz
tangerine-wallet-browser-b7b9e0c1ac203d39196753f39f17a1fe2f4751e5.tar.xz
tangerine-wallet-browser-b7b9e0c1ac203d39196753f39f17a1fe2f4751e5.tar.zst
tangerine-wallet-browser-b7b9e0c1ac203d39196753f39f17a1fe2f4751e5.zip
Persist selected account tab
Also improve error handling with token balances.
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index a7eb3d056..410693df4 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -275,6 +275,7 @@ module.exports = class MetamaskController extends EventEmitter {
// PreferencesController
setSelectedAddress: nodeify(preferencesController.setSelectedAddress).bind(preferencesController),
+ setCurrentAccountTab: nodeify(preferencesController.setCurrentAccountTab).bind(preferencesController),
setDefaultRpc: nodeify(this.setDefaultRpc).bind(this),
setCustomRpc: nodeify(this.setCustomRpc).bind(this),