Merge pull request #2458 from thyttan/bwclock
[BW Clock] remove some leftovers that caused ReferenceError on fast loadingmaster
commit
9c783a1f91
|
|
@ -25,3 +25,5 @@
|
||||||
0.25: Use Bangle.setUI({remove:...}) to allow loading the launcher without a full reset on fw2v16.
|
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.
|
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.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
|
// Called to unload all of the clock app
|
||||||
Bangle.removeListener('lcdPower', lcdListenerBw);
|
Bangle.removeListener('lcdPower', lcdListenerBw);
|
||||||
Bangle.removeListener('lock', lockListenerBw);
|
Bangle.removeListener('lock', lockListenerBw);
|
||||||
Bangle.removeListener('charging', chargingListenerBw);
|
|
||||||
Bangle.removeListener('touch', touchListenerBw);
|
|
||||||
if (drawTimeout) clearTimeout(drawTimeout);
|
if (drawTimeout) clearTimeout(drawTimeout);
|
||||||
drawTimeout = undefined;
|
drawTimeout = undefined;
|
||||||
// save settings
|
// save settings
|
||||||
save();
|
kill();
|
||||||
E.removeListener("kill", save);
|
E.removeListener("kill", kill);
|
||||||
g.setTheme(themeBackup);
|
g.setTheme(themeBackup);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "bwclk",
|
"id": "bwclk",
|
||||||
"name": "BW Clock",
|
"name": "BW Clock",
|
||||||
"version": "0.26",
|
"version": "0.27",
|
||||||
"description": "A very minimalistic clock.",
|
"description": "A very minimalistic clock.",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue