aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers
diff options
context:
space:
mode:
authorBruno Barbieri <bruno.barbieri@consensys.net>2018-08-29 03:33:42 +0800
committerGitHub <noreply@github.com>2018-08-29 03:33:42 +0800
commit4560df6e739b97caf95ef5bc5bc93f91e8c890bb (patch)
tree76984504e65b06ae15633d721fedc7ddd5b0cca7 /ui/app/reducers
parent0259eb02140fec1db9861506a6ff7890911af652 (diff)
parente743f44150d4c09908d24945de5a281e15e8469d (diff)
downloadtangerine-wallet-browser-4560df6e739b97caf95ef5bc5bc93f91e8c890bb.tar
tangerine-wallet-browser-4560df6e739b97caf95ef5bc5bc93f91e8c890bb.tar.gz
tangerine-wallet-browser-4560df6e739b97caf95ef5bc5bc93f91e8c890bb.tar.bz2
tangerine-wallet-browser-4560df6e739b97caf95ef5bc5bc93f91e8c890bb.tar.lz
tangerine-wallet-browser-4560df6e739b97caf95ef5bc5bc93f91e8c890bb.tar.xz
tangerine-wallet-browser-4560df6e739b97caf95ef5bc5bc93f91e8c890bb.tar.zst
tangerine-wallet-browser-4560df6e739b97caf95ef5bc5bc93f91e8c890bb.zip
Merge pull request #4606 from MetaMask/WatchTokenFeature
Add metamask_watchAsset
Diffstat (limited to 'ui/app/reducers')
-rw-r--r--ui/app/reducers/app.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index c246e7904..7be9b8d40 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -209,6 +209,15 @@ function reduceApp (state, action) {
transForward: action.value,
})
+ case actions.SHOW_ADD_SUGGESTED_TOKEN_PAGE:
+ return extend(appState, {
+ currentView: {
+ name: 'add-suggested-token',
+ context: appState.currentView.context,
+ },
+ transForward: action.value,
+ })
+
case actions.SHOW_IMPORT_PAGE:
return extend(appState, {
currentView: {