Refactored sendFlowService and cleared its state before entering the send tab.
This commit is contained in:
parent
e7ce86fb99
commit
dff0d51ef3
11 changed files with 125 additions and 49 deletions
|
|
@ -209,6 +209,7 @@ function amountController(configService, $filter, gettextCatalog, $ionicHistory,
|
|||
}
|
||||
|
||||
function goBack() {
|
||||
sendFlowService.previousState();
|
||||
if (vm.thirdParty && vm.thirdParty.id === 'shapeshift') {
|
||||
$state.go('tabs.send').then(function() {
|
||||
$ionicHistory.clearHistory();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue