iconlaunch: Ensure 'oneClickExit' is the default, and remove useless btn:line

master
Gordon Williams 2025-03-07 17:15:00 +00:00
parent ca95ce03dd
commit 79c1362145
3 changed files with 6 additions and 6 deletions

View File

@ -24,4 +24,5 @@
0.17: fix fullscreen with oneClickExit
0.18: Better performance
0.19: Remove 'jit' keyword as 'for(..of..)' is not supported (fix #2937)
0.20: Use '28' font if installed (2v26+) and put it inside a rounded rect in the current theme
0.20: Use '28' font if installed (2v26+) and put it inside a rounded rect in the current theme
Ensure 'oneClickExit' is the default

View File

@ -4,7 +4,7 @@
showClocks: true,
fullscreen: false,
direct: false,
oneClickExit: false,
oneClickExit: true,
swipeExit: false,
timeOut:"Off"
}, s.readJSON("iconlaunch.json", true) || {});
@ -137,8 +137,7 @@
require("widget_utils").show();
}
if(idWatch) clearWatch(idWatch);
},
btn:Bangle.showClock
}
};
//work both the fullscreen and the oneClickExit

View File

@ -5,7 +5,7 @@
showClocks: true,
fullscreen: false,
direct: false,
oneClickExit: false,
oneClickExit: true,
swipeExit: false,
timeOut:"Off"
}, s.readJSON("iconlaunch.json", true) || {});
@ -19,7 +19,7 @@
"": { "title": /*LANG*/"Launcher", back: back },
/*LANG*/"Show Clocks": {
value: settings.showClocks == true,
onchange: (m) => {
onchange: (m) => {
save("showClocks", m);
s.erase("iconlaunch.cache.json"); //delete the cache app list
}