diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-08-19 01:40:35 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-08-19 02:04:28 +0800 |
commit | 752d16f6c072b0dd54eb245209881a25ff06cb8e (patch) | |
tree | 942ce682425b2811c5143028d842e02095712c46 /ui/app/reducers | |
parent | 9b1a3fd7f36adfacd46de78f4f60e26eca6edd16 (diff) | |
download | tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar.gz tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar.bz2 tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar.lz tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar.xz tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.tar.zst tangerine-wallet-browser-752d16f6c072b0dd54eb245209881a25ff06cb8e.zip |
WIP: ShapeShift tx
Diffstat (limited to 'ui/app/reducers')
-rw-r--r-- | ui/app/reducers/app.js | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index 95b60f929..63804d478 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -476,7 +476,21 @@ function reduceApp (state, action) { data: action.value.data, }, }) - default: + + case actions.SHOW_QR_VIEW: + return extend(appState, { + currentView: { + name: 'qr', + context: appState.currentView.context, + }, + transForward: true, + Qr: { + message: action.value.message, + image: action.value.qr, + data: action.value.data, + }, + }) + default: return appState } } |