qcenter - Cleanup timeout

pull/2556/head
Martin Boonk 2023-02-03 12:49:54 +01:00
parent d9dfb3adee
commit aa91d43fa9
3 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
0.01: New App! 0.01: New App!
0.02: Fix fast loading on swipe to clock 0.02: Fix fast loading on swipe to clock
0.03: Adds a setting for going back to clock on a timeout 0.03: Adds a setting for going back to clock on a timeout
0.04: Fix timeouts closing fast loaded apps

View File

@ -111,6 +111,7 @@ let layout = new Layout({
remove: ()=>{ remove: ()=>{
Bangle.removeListener("swipe", onSwipe); Bangle.removeListener("swipe", onSwipe);
Bangle.removeListener("touch", updateTimeout); Bangle.removeListener("touch", updateTimeout);
if (timeout) clearTimeout(timeout);
delete Graphics.prototype.setFont8x12; delete Graphics.prototype.setFont8x12;
} }
}); });

View File

@ -2,7 +2,7 @@
"id": "qcenter", "id": "qcenter",
"name": "Quick Center", "name": "Quick Center",
"shortName": "QCenter", "shortName": "QCenter",
"version": "0.03", "version": "0.04",
"description": "An app for quickly launching your favourite apps, inspired by the control centres of other watches.", "description": "An app for quickly launching your favourite apps, inspired by the control centres of other watches.",
"icon": "app.png", "icon": "app.png",
"tags": "", "tags": "",