Merge pull request #8 from cmgustavo/bug/remove-bitpay-account

Removes bitpay account (ionic error)
This commit is contained in:
Andy Phillipson 2016-11-14 13:21:42 -05:00 committed by GitHub
commit 9f79b8d73a

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);