Skip to content

Commit e2efb1c

Browse files
author
thyttan
committed
Merge branch 'launch' into app-loader
2 parents 04ed948 + 5dd73bb commit e2efb1c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

apps/launch/ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@
2424
0.22: Add less padding between launcher items, use new font if available in 2v26+
2525
0.23: Draw a placeholder screen right at the start to speed up apparent boot time
2626
0.24: Fix fullscreen when fastloading the launcher. (TODO:fix back btn flicker)
27+
Fix showClocks setting not taking effect by now clearing cache when
28+
changing those settings.

apps/launch/settings.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
settings[key] = value;
1111
require("Storage").write("launch.json",settings);
1212
}
13+
function clearCache() {
14+
require("Storage").erase("launch.cache.json")
15+
}
1316
const appMenu = {
1417
"": { "title": /*LANG*/"Launcher" },
1518
/*LANG*/"< Back": back,
@@ -26,7 +29,10 @@
2629
},
2730
/*LANG*/"Show Clocks": {
2831
value: settings.showClocks == true,
29-
onchange: (m) => { save("showClocks", m) }
32+
onchange: (m) => {
33+
save("showClocks", m);
34+
clearCache();
35+
}
3036
},
3137
/*LANG*/"Fullscreen": {
3238
value: settings.fullscreen == true,

0 commit comments

Comments
 (0)