Bug fixes
parent
2495df581f
commit
0b8fa574d2
|
|
@ -10,8 +10,7 @@ const cirRad = 2*Math.PI;
|
||||||
const proportion = 0.3; // relative size of hour hand
|
const proportion = 0.3; // relative size of hour hand
|
||||||
const thickness = 4; // thickness of decorative lines
|
const thickness = 4; // thickness of decorative lines
|
||||||
// retrieve settings from menu
|
// retrieve settings from menu
|
||||||
// const settings = require("Storage").readJSON("app.json", 1);
|
let settings = require('Storage').readJSON('app.json',1)||{};
|
||||||
require('Storage').read('app.json',settings);
|
|
||||||
const decoration = settings.decoration;
|
const decoration = settings.decoration;
|
||||||
const widgets = settings.widgets;
|
const widgets = settings.widgets;
|
||||||
if (widgets) {
|
if (widgets) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue