bugfix (enable settings page)

pull/2992/head
Niko Komin 2023-08-29 21:00:52 -07:00
parent 08687fb265
commit 72f49eeee7
3 changed files with 4 additions and 3 deletions

View File

@ -1,2 +1,2 @@
1.1: bugfix (enable settings page)
1.0: first working version of App
1.1: bugfix (enable settings page)

View File

@ -13,5 +13,6 @@
{"name":"nightwatch.app.js","url":"nightwatch.app.js"},
{"name":"nightwatch.settings.js","url":"nightwatch.settings.js"},
{"name":"nightwatch.img","url":"nightwatch.icon.js","evaluate":true}
]
],
"data": [{"name":"nightwatch.json"}]
}

View File

@ -2,7 +2,7 @@
var FILE = "nightwatch.json";
// Load settings
var settings = Object.assign({
dt: 30,
dt: 5,
}, require('Storage').readJSON(FILE, true) || {});
function writeSettings() {