Merge pull request #2277 from halemmerich/iconlaunch

iconlaunch - Fix automatic switch to clock
master
Gordon Williams 2022-11-15 16:26:35 +00:00 committed by GitHub
commit f0d44fb066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -15,3 +15,4 @@
0.11: Cleanup timeout when changing to clock
Reset timeout on swipe and drag
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"){
let time=parseInt(settings.timeOut); //the "s" will be trimmed by the parseInt
if (timeout) clearTimeout(timeout);
timeout = setTimeout(returnToClock,time*1000);
timeout = setTimeout(Bangle.showClock,time*1000);
}
};

View File

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