mirror of https://github.com/espruino/BangleApps
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 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) {
|
||||
|
|
Loading…
Reference in New Issue