check if new version

This commit is contained in:
Gabriel Bazán 2016-11-11 17:04:53 -03:00
commit 0a76b3d66c
8 changed files with 77 additions and 30 deletions

View file

@ -19,13 +19,7 @@ angular.module('copayApp.controllers').controller('welcomeController', function(
$log.debug('Creating profile');
profileService.createProfile(function(err) {
if (err) $log.warn(err);
setProfileCreationTime();
});
};
function setProfileCreationTime() {
var now = moment().unix() * 1000 + 24 * 60 * 60 * 1000;
storageService.setProfileCreationTime(now, function() {});
};
});