mirror of https://github.com/BTCPrivate/copay.git
go to wallet when clear history
This commit is contained in:
parent
583e0a560c
commit
550e760337
|
@ -122,11 +122,13 @@ angular.module('copayApp.controllers').controller('preferencesHistory',
|
|||
$log.error(err);
|
||||
return;
|
||||
}
|
||||
$scope.$emit('Local/ClearHistory');
|
||||
|
||||
$timeout(function() {
|
||||
$ionicHistory.removeBackView();
|
||||
$state.go('tabs.home');
|
||||
$timeout(function() {
|
||||
$state.transitionTo('tabs.wallet', {
|
||||
walletId: $scope.wallet.id
|
||||
});
|
||||
}, 100);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue