iconlaunch - Fix automatic switch to clock

pull/2277/head
Martin Boonk 2022-11-15 17:19:58 +01:00
parent 5f2c649987
commit 45f0d1adb5
3 changed files with 3 additions and 2 deletions

View File

@ -15,3 +15,4 @@
0.11: Cleanup timeout when changing to clock 0.11: Cleanup timeout when changing to clock
Reset timeout on swipe and drag Reset timeout on swipe and drag
0.12: Use Bangle.load and Bangle.showClock 0.12: Use Bangle.load and Bangle.showClock
0.13: Fix automatic switch to clock

View File

@ -198,7 +198,7 @@
if (settings.timeOut!="Off"){ if (settings.timeOut!="Off"){
let time=parseInt(settings.timeOut); //the "s" will be trimmed by the parseInt let time=parseInt(settings.timeOut); //the "s" will be trimmed by the parseInt
if (timeout) clearTimeout(timeout); if (timeout) clearTimeout(timeout);
timeout = setTimeout(returnToClock,time*1000); timeout = setTimeout(Bangle.showClock,time*1000);
} }
}; };

View File

@ -2,7 +2,7 @@
"id": "iconlaunch", "id": "iconlaunch",
"name": "Icon Launcher", "name": "Icon Launcher",
"shortName" : "Icon launcher", "shortName" : "Icon launcher",
"version": "0.12", "version": "0.13",
"icon": "app.png", "icon": "app.png",
"description": "A launcher inspired by smartphones, with an icon-only scrollable menu.", "description": "A launcher inspired by smartphones, with an icon-only scrollable menu.",
"tags": "tool,system,launcher", "tags": "tool,system,launcher",