fixes
This commit is contained in:
parent
2284e2507f
commit
d390292b91
5 changed files with 9 additions and 11 deletions
|
|
@ -19,11 +19,11 @@ angular.module('copayApp.controllers').controller('welcomeController', function(
|
|||
$log.debug('Creating profile');
|
||||
profileService.createProfile(function(err) {
|
||||
if (err) $log.warn(err);
|
||||
$scope.setProfileCreationTime();
|
||||
setProfileCreationTime();
|
||||
});
|
||||
};
|
||||
|
||||
$scope.setProfileCreationTime = function() {
|
||||
function setProfileCreationTime() {
|
||||
var now = moment().unix() * 1000 + 24 * 60 * 60 * 1000;
|
||||
storageService.setProfileCreationTime(now, function() {});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue