diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-19 06:41:25 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-21 12:51:37 +0800 |
commit | c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb (patch) | |
tree | dc8d97b83e8cd571a04112c400a13914c2ba5f8e /ui/app/actions.js | |
parent | e88baff2eec33de41faa0fa1ee0b3416117f9c96 (diff) | |
download | tangerine-wallet-browser-c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb.tar tangerine-wallet-browser-c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb.tar.gz tangerine-wallet-browser-c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb.tar.bz2 tangerine-wallet-browser-c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb.tar.lz tangerine-wallet-browser-c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb.tar.xz tangerine-wallet-browser-c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb.tar.zst tangerine-wallet-browser-c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb.zip |
Fix merge conflict; separate onboarding buy screen
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index a9f3185dd..eb066a0e7 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -133,6 +133,8 @@ var actions = { showLoadingIndication: showLoadingIndication, hideLoadingIndication: hideLoadingIndication, // buy Eth with coinbase + onboardingBuyEthView, + ONBOARDING_BUY_ETH_VIEW: 'ONBOARDING_BUY_ETH_VIEW', BUY_ETH: 'BUY_ETH', buyEth: buyEth, buyEthView: buyEthView, @@ -903,6 +905,13 @@ function buyEth (opts) { } } +function onboardingBuyEthView (address) { + return { + type: actions.ONBOARDING_BUY_ETH_VIEW, + value: address, + } +} + function buyEthView (address) { return { type: actions.BUY_ETH_VIEW, |