mirror of https://github.com/espruino/BangleApps
Default option fixes
parent
0b8fa574d2
commit
9f52fe4a91
|
@ -11,8 +11,8 @@ const proportion = 0.3; // relative size of hour hand
|
|||
const thickness = 4; // thickness of decorative lines
|
||||
// retrieve settings from menu
|
||||
let settings = require('Storage').readJSON('app.json',1)||{};
|
||||
const decoration = settings.decoration;
|
||||
const widgets = settings.widgets;
|
||||
const decoration = !settings.decoration;
|
||||
const widgets = !settings.widgets;
|
||||
if (widgets) {
|
||||
widgetHeight = 24;}
|
||||
else {
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
onchange: m => {save('widgets', m)}
|
||||
},
|
||||
'Decoration': {
|
||||
value: 1|settings['decoration'],
|
||||
value: 0|settings['decoration'],
|
||||
min:0,max:1,
|
||||
format: m => onoff[m],
|
||||
onchange: m => {save('decoration', m)}
|
||||
|
|
Loading…
Reference in New Issue