bannerService fixes + some space for the loader

This commit is contained in:
Sebastiaan Pasma 2018-07-04 11:05:31 +02:00
commit de32460fd7
3 changed files with 12 additions and 11 deletions

View file

@ -25,11 +25,9 @@ angular.module('copayApp.controllers').controller('tabHomeController',
startupService.ready();
bannerService.getBanner(function (banner) {
$scope.$apply(function () {
$scope.bannerImageUrl = banner.imageURL;
$scope.bannerUrl = banner.url;
$scope.bannerIsLoading = false;
});
$scope.bannerImageUrl = banner.imageURL;
$scope.bannerUrl = banner.url;
$scope.bannerIsLoading = false;
});
});