refactor disclaimer handling
This commit is contained in:
parent
2153f5c078
commit
bffaf9ad9d
10 changed files with 57 additions and 55 deletions
|
|
@ -44,4 +44,11 @@ angular.module('copayApp.controllers').controller('disclaimerController',
|
|||
});
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
this.accept = function() {
|
||||
profileService.setDisclaimerAccepted(function(err) {
|
||||
if (err) $log.error(err);
|
||||
else go.walletHome();
|
||||
});
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue