Merge pull request #162 from cmgustavo/ref/design-42

Fix transitions for address book and delete wallet
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-22 16:56:41 -03:00 committed by GitHub
commit 337ab55f10
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');
}
});