From 8d90bee85cf4153893ffe4881633970ffb4dc9f4 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 3 Oct 2016 11:52:48 -0300 Subject: [PATCH] show loading spinner at the end of tx history list --- public/views/walletDetails.html | 41 +++++++++++++---------------- src/js/controllers/walletDetails.js | 8 +++--- 2 files changed, 24 insertions(+), 25 deletions(-) diff --git a/public/views/walletDetails.html b/public/views/walletDetails.html index e630506f3..f769252f0 100644 --- a/public/views/walletDetails.html +++ b/public/views/walletDetails.html @@ -9,6 +9,7 @@ +
@@ -88,21 +89,20 @@
-
-
- Payment Proposals - Unsent transactions +
+
+ Payment Proposals + Unsent transactions +
+
+ +
+
-
- -
- -
- @@ -173,15 +173,12 @@
Invalid -
- - - - + +
diff --git a/src/js/controllers/walletDetails.js b/src/js/controllers/walletDetails.js index 1282f34c3..37e7324fa 100644 --- a/src/js/controllers/walletDetails.js +++ b/src/js/controllers/walletDetails.js @@ -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)  {