dtlaunch: Bangle 2: Fix showClocks and showLaunchers settings
... not taking effect by now clearing cache when changing those settings.master
parent
97d86e6c08
commit
f25bf0989a
|
|
@ -32,3 +32,5 @@ when moving pages. Add caching for faster startups.
|
|||
0.25: Minor code improvements
|
||||
0.26: Bangle 2: Postpone loading icons that are not needed initially.
|
||||
0.27: Bangle 2: Add setting to remember and present the last open page between instances of dtlaunch.
|
||||
0.28: Bangle 2: Fix showClocks and showLaunchers settings not taking effect by
|
||||
clearing cache when changing those settings.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "dtlaunch",
|
||||
"name": "Desktop Launcher",
|
||||
"version": "0.27",
|
||||
"version": "0.28",
|
||||
"description": "Desktop style App Launcher with six (four for Bangle 2) apps per page - fast access if you have lots of apps installed.",
|
||||
"screenshots": [{"url":"shot1.png"},{"url":"shot2.png"},{"url":"shot3.png"}],
|
||||
"icon": "icon.png",
|
||||
|
|
|
|||
|
|
@ -17,6 +17,10 @@
|
|||
|
||||
const timeOutChoices = [/*LANG*/"Off", "10s", "15s", "20s", "30s"];
|
||||
|
||||
function clearCache() {
|
||||
require("Storage").erase("launch.cache.json")
|
||||
}
|
||||
|
||||
E.showMenu({
|
||||
"" : { "title" : "Desktop launcher" },
|
||||
/*LANG*/"< Back" : () => back(),
|
||||
|
|
@ -25,6 +29,7 @@
|
|||
onchange: v => {
|
||||
settings.showClocks = v;
|
||||
writeSettings();
|
||||
clearCache();
|
||||
}
|
||||
},
|
||||
/*LANG*/'Show launchers': {
|
||||
|
|
@ -32,6 +37,7 @@
|
|||
onchange: v => {
|
||||
settings.showLaunchers = v;
|
||||
writeSettings();
|
||||
clearCache();
|
||||
}
|
||||
},
|
||||
/*LANG*/'Direct launch': {
|
||||
|
|
|
|||
Loading…
Reference in New Issue