Removes unused functions, disclaimer more clear
This commit is contained in:
parent
6b3063793d
commit
4d17133ae1
2 changed files with 5 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue