cutelauncher: Clear cached app list when updating showClocks setting

master
thyttan 2025-03-30 12:28:19 +02:00
parent 97d86e6c08
commit 29f6bb94e3
3 changed files with 4 additions and 2 deletions

View File

@ -1 +1,2 @@
0.01: New app introduced to the app loader! 0.01: New app introduced to the app loader!
0.02: Clear cached app list when updating showClocks setting

View File

@ -2,7 +2,7 @@
"id": "cutelauncher", "id": "cutelauncher",
"name": "Cute Launcher", "name": "Cute Launcher",
"shortName": "Cute Launcher", "shortName": "Cute Launcher",
"version": "0.01", "version": "0.02",
"description": "A simple launcher app for Bangle.js 2 that makes use of the full touchscreen", "description": "A simple launcher app for Bangle.js 2 that makes use of the full touchscreen",
"icon": "app.png", "icon": "app.png",
"type": "launch", "type": "launch",

View File

@ -24,6 +24,7 @@
onchange: () => { onchange: () => {
settings.showClocks = !settings.showClocks; settings.showClocks = !settings.showClocks;
save(); save();
storage.erase("launch.cache.json"); //delete the cache app list
} }
}, },
'Scrollbar': { 'Scrollbar': {
@ -34,4 +35,4 @@
} }
} }
}); });
}) })