mirror of https://github.com/espruino/BangleApps
iconlaunch - Fix automatic switch to clock
parent
5f2c649987
commit
45f0d1adb5
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue