aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/app.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-09-19 06:41:25 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-21 12:51:37 +0800
commitc6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb (patch)
treedc8d97b83e8cd571a04112c400a13914c2ba5f8e /ui/app/reducers/app.js
parente88baff2eec33de41faa0fa1ee0b3416117f9c96 (diff)
downloadtangerine-wallet-browser-c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb.tar.gz
tangerine-wallet-browser-c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb.tar.zst
tangerine-wallet-browser-c6a3d00d80e1fa6ca1426246d9a3e03b7ad4ecbb.zip
Fix merge conflict; separate onboarding buy screen
Diffstat (limited to 'ui/app/reducers/app.js')
-rw-r--r--ui/app/reducers/app.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 349c25b96..4b05b608d 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -494,6 +494,17 @@ function reduceApp (state, action) {
},
})
+
+ case actions.ONBOARDING_BUY_ETH_VIEW:
+ return extend(appState, {
+ transForward: true,
+ currentView: {
+ name: 'onboardingBuyEth',
+ context: appState.currentView.name,
+ },
+ identity: state.metamask.identities[action.value],
+ })
+
case actions.COINBASE_SUBVIEW:
return extend(appState, {
buyView: {