fix empty send view

This commit is contained in:
Gabriel Bazán 2016-12-19 17:15:31 -03:00
commit f18613a4d7

View file

@ -133,6 +133,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
lodash.each(wallets, function(w) { lodash.each(wallets, function(w) {
walletService.getStatus(w, {}, function(err, status) { walletService.getStatus(w, {}, function(err, status) {
++index; ++index;
if (index == wallets.length) $scope.checkingBalance = false;
if (err || !status) { if (err || !status) {
$log.error(err); $log.error(err);
return; return;
@ -144,7 +145,6 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
} }
if (index == wallets.length) { if (index == wallets.length) {
$scope.checkingBalance = false;
if ($scope.hasFunds != true) { if ($scope.hasFunds != true) {
$ionicScrollDelegate.freezeScroll(true); $ionicScrollDelegate.freezeScroll(true);
} }