Fix disclaimer
This commit is contained in:
parent
a28f9c0e7f
commit
bdfa89115d
5 changed files with 60 additions and 50 deletions
|
|
@ -4,16 +4,6 @@ angular.module('copayApp.controllers').controller('disclaimerController',
|
|||
function($scope, $timeout, $log, profileService, isCordova, storageService, applicationService, gettextCatalog, uxLanguage, go) {
|
||||
self = this;
|
||||
|
||||
$scope.goHome = function() {
|
||||
$scope.error = "";
|
||||
profileService.storeDisclaimer(function(err) {
|
||||
if (err) {
|
||||
$scope.error = err;
|
||||
$scope.$apply();
|
||||
} else go.walletHome();
|
||||
});
|
||||
};
|
||||
|
||||
var create = function() {
|
||||
$scope.creatingProfile = true;
|
||||
profileService.create({}, function(err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue