move addresses view to settings

This commit is contained in:
Gabriel Bazán 2017-05-03 17:08:18 -03:00
commit e76924cb74
5 changed files with 17 additions and 9 deletions

View file

@ -130,8 +130,16 @@ angular.module('copayApp.controllers').controller('addressesController', functio
$scope.scan = function() {
walletService.startScan($scope.wallet);
$ionicHistory.nextViewOptions({
disableAnimate: true,
historyRoot: true
});
$ionicHistory.clearHistory();
$state.go('tabs.home');
$state.go('tabs.home').then(function() {
$state.transitionTo('tabs.wallet', {
walletId: $scope.wallet.credentials.walletId
});
});
};
$scope.sendByEmail = function() {