Removes bitpay account (ionic error)

This commit is contained in:
Gustavo Maximiliano Cortez 2016-11-14 15:17:05 -03:00
commit 4865f49f23
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -12,7 +12,7 @@ angular.module('copayApp.controllers').controller('preferencesBitpayCardControll
var remove = function(card) {
bitpayCardService.remove(card, function() {
$ionicHistory.removeBackView();
$ionicHistory.clearHistory();
$timeout(function() {
$state.go('tabs.home');
}, 100);