diff options
Merge branch 'master' into PopupNotifications
Diffstat (limited to 'ui/app/reducers')
-rw-r--r-- | ui/app/reducers/app.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index deebf02be..94b7e8bf7 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -485,6 +485,20 @@ function reduceApp (state, action) { data: action.value.data, }, }) + + 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 } |