Fix first view
This commit is contained in:
parent
6d97ef57d5
commit
4f5c814c50
4 changed files with 14 additions and 8 deletions
|
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue