After send funds return to tab-home

This commit is contained in:
Gustavo Maximiliano Cortez 2016-12-02 17:33:18 -03:00
parent 90ee2451f4
commit 9d547883f6
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 8 additions and 1 deletions

View File

@ -519,7 +519,14 @@ angular.module('copayApp.controllers').controller('confirmController', function(
});
});
} else {
$state.go('tabs.send');
$ionicHistory.nextViewOptions({
disableAnimate: true,
historyRoot: true
});
$ionicHistory.clearHistory();
$state.go('tabs.send').then(function() {
$state.transitionTo('tabs.home');
});
}
};