Clear memo before entering Review screen.

This commit is contained in:
Brendon Duncan 2018-09-17 21:26:21 -07:00
commit 7b6efaa1db

View file

@ -26,6 +26,7 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
vm.feeIsHigh = false; vm.feeIsHigh = false;
vm.feeLessThanACent = false; vm.feeLessThanACent = false;
vm.isCordova = platformInfo.isCordova; vm.isCordova = platformInfo.isCordova;
vm.memo = '';
vm.notReadyMessage = ''; vm.notReadyMessage = '';
vm.origin = { vm.origin = {
balanceAmount: '', balanceAmount: '',
@ -79,6 +80,9 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
function onBeforeEnter(event, data) { function onBeforeEnter(event, data) {
console.log('review onBeforeEnter sendflow ', sendFlowService.state); console.log('review onBeforeEnter sendflow ', sendFlowService.state);
// Reset from last time
vm.memo = '';
defaults = configService.getDefaults(); defaults = configService.getDefaults();
sendFlowData = sendFlowService.state.getClone(); sendFlowData = sendFlowService.state.getClone();
originWalletId = sendFlowData.fromWalletId; originWalletId = sendFlowData.fromWalletId;