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

View file

@ -3,12 +3,15 @@
width: 100%;
text-align: center;
padding: 2rem 1rem 1.5rem 1rem;
min-height: 140px;
height: 140px;
border-color: #172565;
background-color: #1e3186;
background-image: linear-gradient(0deg, #172565, #172565 0%, transparent 0%);
color: #fff;
}
.wallet-details-wallet-info {
bottom: 5px;
}
strong {
line-height: 100%;
}