aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/app.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-12-02 02:30:31 +0800
committerGitHub <noreply@github.com>2016-12-02 02:30:31 +0800
commiteb7cf2bf310419246b59044e80c88a2bcabb9c34 (patch)
treef1f3bff45a4e6951bb073aa6684791908901afb3 /ui/app/reducers/app.js
parent5af41573638e438f4af496afe18d9a01f89c7733 (diff)
parentc43178360203b4571d9e00880b5bf2806908c179 (diff)
downloadtangerine-wallet-browser-eb7cf2bf310419246b59044e80c88a2bcabb9c34.tar.gz
tangerine-wallet-browser-eb7cf2bf310419246b59044e80c88a2bcabb9c34.tar.zst
tangerine-wallet-browser-eb7cf2bf310419246b59044e80c88a2bcabb9c34.zip
Merge pull request #904 from MetaMask/BetterIntegrationTest
Made integration test suite better, added a step to story
Diffstat (limited to 'ui/app/reducers/app.js')
-rw-r--r--ui/app/reducers/app.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 1f40e90b3..67a926948 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -43,7 +43,19 @@ function reduceApp (state, action) {
switch (action.type) {
- // intialize
+ // transition methods
+
+ case actions.TRANSITION_FORWARD:
+ return extend(appState, {
+ transForward: true,
+ })
+
+ case actions.TRANSITION_BACKWARD:
+ return extend(appState, {
+ transForward: false,
+ })
+
+ // intialize
case actions.SHOW_CREATE_VAULT:
return extend(appState, {