diff --git a/public/views/disclaimer.html b/public/views/disclaimer.html index 7bab3c535..fbc3e0d3a 100644 --- a/public/views/disclaimer.html +++ b/public/views/disclaimer.html @@ -8,11 +8,11 @@

- Terms of Use - +
Copay
+
Terms of Use

-

+

diff --git a/src/js/controllers/disclaimer.js b/src/js/controllers/disclaimer.js index f9758fbe1..1251e42bc 100644 --- a/src/js/controllers/disclaimer.js +++ b/src/js/controllers/disclaimer.js @@ -1,13 +1,7 @@ 'use strict'; angular.module('copayApp.controllers').controller('disclaimerController', - function($scope, $timeout, storageService, applicationService, go, gettextCatalog, isCordova) { - storageService.getCopayDisclaimerFlag(function(err, val) { - $scope.agreed = val; - $timeout(function() { - $scope.$digest(); - }, 1); - }); + function($scope, $timeout, storageService, applicationService, gettextCatalog, isCordova) { $scope.agree = function() { if (isCordova) { @@ -25,6 +19,7 @@ angular.module('copayApp.controllers').controller('disclaimerController', }); }, 100); }; + $scope.init = function() { storageService.getCopayDisclaimerFlag(function(err, val) { $scope.agreed = val;