fix reload in cordova

This commit is contained in:
Matias Alejo Garcia 2014-12-06 21:07:26 -03:00
commit 984a7a6651
6 changed files with 22 additions and 14 deletions

View file

@ -114,7 +114,7 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
pinService.clear(function() {
copay.logger.debug('PIN erased');
delete $rootScope['hasPin'];
applicationService.reload();
applicationService.restart();
});
};