diff --git a/apps/gallifr/app.js b/apps/gallifr/app.js index 57ca86279..42227f0a8 100644 --- a/apps/gallifr/app.js +++ b/apps/gallifr/app.js @@ -10,8 +10,7 @@ const cirRad = 2*Math.PI; const proportion = 0.3; // relative size of hour hand const thickness = 4; // thickness of decorative lines // retrieve settings from menu -// const settings = require("Storage").readJSON("app.json", 1); -require('Storage').read('app.json',settings); +let settings = require('Storage').readJSON('app.json',1)||{}; const decoration = settings.decoration; const widgets = settings.widgets; if (widgets) {