Back button on Review Transaction screen works with sendFlowService.
This commit is contained in:
parent
b426209efb
commit
a2dff98c63
2 changed files with 7 additions and 2 deletions
|
|
@ -49,6 +49,7 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
|
||||||
vm.memoExpanded = false;
|
vm.memoExpanded = false;
|
||||||
|
|
||||||
// Functions
|
// Functions
|
||||||
|
vm.goBack = goBack;
|
||||||
vm.onSuccessConfirm = onSuccessConfirm;
|
vm.onSuccessConfirm = onSuccessConfirm;
|
||||||
|
|
||||||
var sendFlowData;
|
var sendFlowData;
|
||||||
|
|
@ -395,6 +396,11 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function goBack() {
|
||||||
|
sendFlowService.popState();
|
||||||
|
$ionicHistory.goBack();
|
||||||
|
}
|
||||||
|
|
||||||
function handleDestinationAsAddress(address, originCoin) {
|
function handleDestinationAsAddress(address, originCoin) {
|
||||||
if (!address) {
|
if (!address) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,7 @@
|
||||||
<ion-nav-title>
|
<ion-nav-title>
|
||||||
{{'Review Transaction' | translate}}
|
{{'Review Transaction' | translate}}
|
||||||
</ion-nav-title>
|
</ion-nav-title>
|
||||||
<ion-nav-back-button>
|
<ion-nav-back-button ng-click="vm.goBack()"></ion-nav-back-button>
|
||||||
</ion-nav-back-button>
|
|
||||||
</ion-nav-bar>
|
</ion-nav-bar>
|
||||||
|
|
||||||
<ion-content class="padded-bottom-cta-with-summary bg-neutral">
|
<ion-content class="padded-bottom-cta-with-summary bg-neutral">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue