Fix transitions for address book and delete wallet

This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-22 16:43:35 -03:00
commit f1817047e0
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
4 changed files with 11 additions and 4 deletions

View file

@ -26,7 +26,7 @@ angular.module('copayApp.controllers').controller('addressbookViewController', f
});
$scope.sendTo = function() {
$ionicHistory.clearHistory();
$ionicHistory.removeBackView();
$state.go('tabs.send');
$timeout(function() {
$state.transitionTo('tabs.send.amount', {

View file

@ -21,7 +21,7 @@ angular.module('copayApp.controllers').controller('preferencesDeleteWalletContro
if (err) {
popupService.showAlert(gettextCatalog.getString('Error'), err.message || err);
} else {
$ionicHistory.clearHistory();
$ionicHistory.removeBackView();
$state.go('tabs.home');
}
});