new try at fix

pull/2235/head
thyttan 2022-11-06 19:07:01 +01:00
parent eca777c8ec
commit 5e2819bedc
1 changed files with 4 additions and 2 deletions

View File

@ -12,8 +12,10 @@ let settings = Object.assign({
swipeExit: false,
}, require('Storage').readJSON("dtlaunch.json", true) || {});
if (settings.oneClickExit) let buttonWatch = setWatch(_=> returnToClock, BTN1);
if (settings.oneClickExit) {
let buttonWatch = setWatch(_=> returnToClock, BTN1);
}
let s = require("Storage");
var apps = s.list(/\.info$/).map(app=>{
let a=s.readJSON(app,1);