Fix pop state on the send flow
This commit is contained in:
parent
0ea97fc1c6
commit
77f6210076
1 changed files with 4 additions and 1 deletions
|
|
@ -68,6 +68,10 @@ function amountController(configService, $filter, gettextCatalog, $ionicHistory,
|
|||
function onBeforeEnter(event, data) {
|
||||
console.log('amount onBeforeEnter sendflow ', sendFlowService.getState());
|
||||
|
||||
if (data.direction == "back") {
|
||||
sendFlowService.popState();
|
||||
}
|
||||
|
||||
initCurrencies();
|
||||
|
||||
passthroughParams = sendFlowService;
|
||||
|
|
@ -210,7 +214,6 @@ function amountController(configService, $filter, gettextCatalog, $ionicHistory,
|
|||
}
|
||||
|
||||
function goBack() {
|
||||
sendFlowService.popState();
|
||||
$ionicHistory.goBack();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue