Fix first view

This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-05 11:42:40 -03:00
commit 4f5c814c50
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
4 changed files with 14 additions and 8 deletions

View file

@ -94,6 +94,7 @@ angular.module('copayApp.controllers').controller('bitpayCardController', functi
transactions: self.bitpayCardTransactionHistory
};
bitpayCardService.setCacheData(cacheData, function(err) {
$scope.bitpayCardCached = true;
if (err) $log.error(err);
});
});

View file

@ -4,8 +4,8 @@ angular.module('copayApp.controllers').controller('preferencesBitpayCardControll
function($scope, $state, $timeout, $ionicHistory, bitpayCardService, popupService) {
$scope.logout = function() {
var title = 'Are you sure you would like to log out of your Bitpay Card account?';
popupService.showConfirm(title, null, null, null, function(res) {
var msg = 'Are you sure you would like to log out of your BitPay Card account?';
popupService.showConfirm(null, msg, null, null, function(res) {
if (res) logout();
});
};