diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-08-13 08:43:24 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-08-13 08:43:24 +0800 |
commit | 99a788a6f02ffcd53e88222ab0ba4b89d8040f4f (patch) | |
tree | 097fb582484f3c65cb152513167f1b6dbabb8bc6 /ui/app/actions.js | |
parent | b72c00a6c15af9692cbaf46b89a19e5cef45f7b7 (diff) | |
download | tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar.gz tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar.bz2 tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar.lz tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar.xz tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar.zst tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.zip |
Add multi message capability to Qr view for market info
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index b6b5e684b..61f900df9 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -692,13 +692,14 @@ function shapeShiftSubview (network) { } } -function coinShiftRquest (data) { +function coinShiftRquest (data, marketData) { return (dispatch) => { dispatch(actions.showLoadingIndication()) shapeShiftRequest('shift', { method: 'POST', data}, (response) => { if (response.error) return dispatch(actions.showWarning(response.error)) - var message = `Deposit your ${response.depositType} to the address bellow:` - dispatch(actions.getQr(response.deposit, '125x125', message)) + var message = ` + Deposit your ${response.depositType} to the address bellow:` + dispatch(actions.getQr(response.deposit, '125x125', [message].concat(marketData))) }) } } |