aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-06-15 11:42:48 +0800
committerDan Finlay <dan@danfinlay.com>2017-06-15 11:55:56 +0800
commit0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6 (patch)
treeae3df7210232f9ad1c15c2597f15660ec8d783f7 /ui/app/actions.js
parenta80945e73075b8c0dc43a68ba73da65d7074e098 (diff)
downloadtangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.gz
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.bz2
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.lz
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.xz
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.zst
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.zip
Create add token button and template view
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index b6b5d6eb1..d17d4610e 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -121,7 +121,9 @@ var actions = {
SET_PROVIDER_TYPE: 'SET_PROVIDER_TYPE',
USE_ETHERSCAN_PROVIDER: 'USE_ETHERSCAN_PROVIDER',
useEtherscanProvider: useEtherscanProvider,
- showConfigPage: showConfigPage,
+ showConfigPage,
+ SHOW_ADD_TOKEN_PAGE: 'SHOW_ADD_TOKEN_PAGE',
+ showAddTokenPage,
setRpcTarget: setRpcTarget,
setDefaultRpcTarget: setDefaultRpcTarget,
setProviderType: setProviderType,
@@ -627,6 +629,13 @@ function showConfigPage (transitionForward = true) {
}
}
+function showAddTokenPage (transitionForward = true) {
+ return {
+ type: actions.SHOW_ADD_TOKEN_PAGE,
+ value: transitionForward,
+ }
+}
+
function goBackToInitView () {
return {
type: actions.BACK_TO_INIT_MENU,