mirror of https://github.com/espruino/BangleApps
remove some leftovers that caused ReferenceError on fast loading
parent
ef8dd30f25
commit
a681d5415a
|
@ -25,3 +25,5 @@
|
|||
0.25: Use Bangle.setUI({remove:...}) to allow loading the launcher without a full reset on fw2v16.
|
||||
ClockInfo Fix: Use .get instead of .show as .show is not implemented for weather etc.
|
||||
0.26: Use clkinfo.addInteractive instead of a custom implementation
|
||||
0.27: Clean out some leftovers in the remove function after switching to
|
||||
clkinfo.addInteractive that would cause ReferenceError.
|
||||
|
|
|
@ -294,13 +294,11 @@ Bangle.setUI({
|
|||
// Called to unload all of the clock app
|
||||
Bangle.removeListener('lcdPower', lcdListenerBw);
|
||||
Bangle.removeListener('lock', lockListenerBw);
|
||||
Bangle.removeListener('charging', chargingListenerBw);
|
||||
Bangle.removeListener('touch', touchListenerBw);
|
||||
if (drawTimeout) clearTimeout(drawTimeout);
|
||||
drawTimeout = undefined;
|
||||
// save settings
|
||||
save();
|
||||
E.removeListener("kill", save);
|
||||
kill();
|
||||
E.removeListener("kill", kill);
|
||||
g.setTheme(themeBackup);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "bwclk",
|
||||
"name": "BW Clock",
|
||||
"version": "0.26",
|
||||
"version": "0.27",
|
||||
"description": "A very minimalistic clock.",
|
||||
"readme": "README.md",
|
||||
"icon": "app.png",
|
||||
|
|
Loading…
Reference in New Issue