Fix view allAddresses
This commit is contained in:
parent
e8a18c9eb4
commit
ede0aec1f1
4 changed files with 21 additions and 19 deletions
|
|
@ -37,8 +37,8 @@ angular.module('copayApp.controllers').controller('addressesController', functio
|
|||
var allAddresses = addresses;
|
||||
|
||||
walletService.getBalance($scope.wallet, {}, function(err, resp) {
|
||||
$scope.loading = false;
|
||||
if (err) {
|
||||
$scope.loading = false;
|
||||
return popupService.showAlert(bwcError.msg(err, gettextCatalog.getString('Could not update wallet')));
|
||||
}
|
||||
|
||||
|
|
@ -64,9 +64,12 @@ angular.module('copayApp.controllers').controller('addressesController', functio
|
|||
$scope.allAddresses = $scope.noBalance.concat(withBalance);
|
||||
|
||||
cachedWallet = $scope.wallet.id;
|
||||
$scope.loading = false;
|
||||
$log.debug('Addresses cached for Wallet:', cachedWallet);
|
||||
$ionicScrollDelegate.resize();
|
||||
$scope.$digest();
|
||||
$timeout(function() {
|
||||
$ionicScrollDelegate.resize();
|
||||
$scope.$digest();
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,15 @@
|
|||
#addresses {
|
||||
@extend .deflash-blue;
|
||||
.updating {
|
||||
text-align: center;
|
||||
font-size: 0.9em;
|
||||
color: $v-mid-gray;
|
||||
padding-top: 1.3rem;
|
||||
.spinner svg {
|
||||
stroke: #111;
|
||||
fill: #111;
|
||||
}
|
||||
}
|
||||
.addr {
|
||||
&-explanation, &-button-group {
|
||||
padding: 0 1rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue