Bug fixes

pull/404/head
Richard Hopkins 2020-05-11 12:05:18 +01:00
parent 2495df581f
commit 0b8fa574d2
1 changed files with 1 additions and 2 deletions

View File

@ -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) {