Merge pull request #275 from Bitcoin-com/wallet/dev

Wallet/dev
This commit is contained in:
Jean-Baptiste Dominguez 2018-08-13 16:15:38 +09:00 committed by GitHub
commit a648b69297
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -304,10 +304,13 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
};
function refreshAmountSection(scrollPos) {
var AMOUNT_HEIGHT_BASE = 270;
var AMOUNT_HEIGHT_BASE = 210;
$scope.showBalanceButton = false;
if ($scope.status) {
$scope.showBalanceButton = ($scope.status.totalBalanceSat != $scope.status.spendableAmount);
if ($scope.showBalanceButton) {
AMOUNT_HEIGHT_BASE = 270;
}
}
if (!$scope.amountIsCollapsible) {
var t = ($scope.showBalanceButton ? 15 : 45);