diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-06-19 06:37:37 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-06-19 06:37:37 +0800 |
commit | 5e4f3e430a9057b073cfc82255fe62c5e8550e44 (patch) | |
tree | cdd41107125424869b79414ddf7317f0befac5df /app/scripts/controllers | |
parent | f14ed329801ab65c31e84f8e9d8d93700ed56670 (diff) | |
download | tangerine-wallet-browser-5e4f3e430a9057b073cfc82255fe62c5e8550e44.tar.gz tangerine-wallet-browser-5e4f3e430a9057b073cfc82255fe62c5e8550e44.tar.zst tangerine-wallet-browser-5e4f3e430a9057b073cfc82255fe62c5e8550e44.zip |
Get popup appearing when suggesting new token
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r-- | app/scripts/controllers/preferences.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js index b76141be4..e33501cd0 100644 --- a/app/scripts/controllers/preferences.js +++ b/app/scripts/controllers/preferences.js @@ -36,6 +36,7 @@ class PreferencesController { this.diagnostics = opts.diagnostics this.store = new ObservableStore(initState) + this.showAddTokenUi = opts.showAddTokenUi } // PUBLIC METHODS @@ -79,7 +80,8 @@ class PreferencesController { symbol, } - this.suggestWatchToken() + this.addSuggestedToken(tokenOpts) + this.showAddTokenUi() return end(null, { result: rawAddress, |