Merge pull request #239 from JDonadio/fix/spinner-history

Show loading spinner at the end of tx history list
This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-03 16:23:29 -03:00 committed by GitHub
commit b9be248995
2 changed files with 24 additions and 25 deletions

View file

@ -153,9 +153,11 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
};
$scope.showMore = function() {
currentTxHistoryPage++;
$scope.showHistory();
$scope.$broadcast('scroll.infiniteScrollComplete');
$timeout(function() {
currentTxHistoryPage++;
$scope.showHistory();
$scope.$broadcast('scroll.infiniteScrollComplete');
}, 100);
};
$scope.updateAll = function(force, cb)  {