show loading spinner at the end of tx history list

This commit is contained in:
Javier 2016-10-03 11:52:48 -03:00
commit 8d90bee85c
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)  {