aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r--app/scripts/controllers/preferences.js4
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,