diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-04-19 11:33:51 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-05-17 23:27:39 +0800 |
commit | 924cc1fcf7de1896ac09bbe7a400d5ff5df0b50d (patch) | |
tree | 2a0f33c2ccd450bdd620b59df5510e5bbb670a9a /app/scripts/metamask-controller.js | |
parent | 708422432c634ffbd4c73388f980c43f766b3355 (diff) | |
download | tangerine-wallet-browser-924cc1fcf7de1896ac09bbe7a400d5ff5df0b50d.tar tangerine-wallet-browser-924cc1fcf7de1896ac09bbe7a400d5ff5df0b50d.tar.gz tangerine-wallet-browser-924cc1fcf7de1896ac09bbe7a400d5ff5df0b50d.tar.bz2 tangerine-wallet-browser-924cc1fcf7de1896ac09bbe7a400d5ff5df0b50d.tar.lz tangerine-wallet-browser-924cc1fcf7de1896ac09bbe7a400d5ff5df0b50d.tar.xz tangerine-wallet-browser-924cc1fcf7de1896ac09bbe7a400d5ff5df0b50d.tar.zst tangerine-wallet-browser-924cc1fcf7de1896ac09bbe7a400d5ff5df0b50d.zip |
Move setAccountLabel into PreferencesController
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r-- | app/scripts/metamask-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index a6b5d3453..4dcec8ef7 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -363,6 +363,7 @@ module.exports = class MetamaskController extends EventEmitter { addToken: nodeify(preferencesController.addToken, preferencesController), removeToken: nodeify(preferencesController.removeToken, preferencesController), setCurrentAccountTab: nodeify(preferencesController.setCurrentAccountTab, preferencesController), + setAccountLabel: nodeify(preferencesController.setAccountLabel, preferencesController), setFeatureFlag: nodeify(preferencesController.setFeatureFlag, preferencesController), // AddressController @@ -373,7 +374,6 @@ module.exports = class MetamaskController extends EventEmitter { createNewVaultAndKeychain: nodeify(this.createNewVaultAndKeychain, this), createNewVaultAndRestore: nodeify(this.createNewVaultAndRestore, this), addNewKeyring: nodeify(keyringController.addNewKeyring, keyringController), - saveAccountLabel: nodeify(keyringController.saveAccountLabel, keyringController), exportAccount: nodeify(keyringController.exportAccount, keyringController), // txController |