Skip to content

Commit 29f6bb9

Browse files
author
thyttan
committed
cutelauncher: Clear cached app list when updating showClocks setting
1 parent 97d86e6 commit 29f6bb9

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

apps/cutelauncher/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
0.01: New app introduced to the app loader!
2+
0.02: Clear cached app list when updating showClocks setting

apps/cutelauncher/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "cutelauncher",
33
"name": "Cute Launcher",
44
"shortName": "Cute Launcher",
5-
"version": "0.01",
5+
"version": "0.02",
66
"description": "A simple launcher app for Bangle.js 2 that makes use of the full touchscreen",
77
"icon": "app.png",
88
"type": "launch",

apps/cutelauncher/settings.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
onchange: () => {
2525
settings.showClocks = !settings.showClocks;
2626
save();
27+
storage.erase("launch.cache.json"); //delete the cache app list
2728
}
2829
},
2930
'Scrollbar': {
@@ -34,4 +35,4 @@
3435
}
3536
}
3637
});
37-
})
38+
})

0 commit comments

Comments
 (0)