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);
|
$log.error(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$scope.$emit('Local/ClearHistory');
|
|
||||||
|
|
||||||
|
$ionicHistory.removeBackView();
|
||||||
|
$state.go('tabs.home');
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$ionicHistory.removeBackView();
|
$state.transitionTo('tabs.wallet', {
|
||||||
$state.go('tabs.home');
|
walletId: $scope.wallet.id
|
||||||
|
});
|
||||||
}, 100);
|
}, 100);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue