This commit is contained in:
Gabriel Bazán 2016-12-22 12:32:43 -03:00
commit 3bef5ce7ff
3 changed files with 7 additions and 9 deletions

View file

@ -82,7 +82,8 @@ angular.module('copayApp.controllers').controller('amazonController',
$scope.giftCards = lodash.isEmpty(gcds) ? null : gcds;
$timeout(function() {
$scope.$digest();
});
$ionicScrollDelegate.resize();
}, 10);
});
});
} else $log.debug("pending gift card not available yet");
@ -107,9 +108,6 @@ angular.module('copayApp.controllers').controller('amazonController',
$scope.$on('modal.hidden', function() {
$scope.updatePendingGiftCards();
$timeout(function() {
$ionicScrollDelegate.resize();
}, 10);
});
};