Skip to content

Commit c48162e

Browse files
author
thyttan
committed
Merge branch 'ateatimer' into app-loader
2 parents 9d264e1 + c2962bb commit c48162e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

apps/ateatimer/ChangeLog

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
0.01: First release
2-
0.02: Fix icon, utilize sched, show running timer on app relaunch
2+
0.02: Fix icon, utilize sched, show running timer on app relaunch
3+
0.03: Flash time in green when starting the timer.

apps/ateatimer/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
let appRect = Bangle.appRect;
44
let middleY = appRect.y+appRect.w/2;
55
let middleRect = {x:appRect.x, y:middleY-20, w:appRect.w, h:40}
6-
let GREEN = g.theme.dark?0x03E0:0x07E0;
6+
let GREEN = g.theme.dark?0x07E0:0x03E0;
77

88
let intervalID;
99

@@ -75,7 +75,7 @@ function startTimer() {
7575
g.reset();
7676

7777
// Start the secondary timer to update the display
78-
intervalID = setInterval(updateDisplay, 1000);
78+
setTimeout('setintervalID = setInterval(updateDisplay, 1000);', 1000);
7979
}
8080

8181
function scheduleTimer() {

apps/ateatimer/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "A Tea Timer",
33
"shortName":"A Tea Timer",
44
"icon": "app.png",
5-
"version":"0.02",
5+
"version":"0.03",
66
"description": "Simple app for setting timers for tea. Touch up and down to change time, and time or button to start counting. When timer is running, button will stop timer and reset counter to last used value.",
77
"tags": "timer",
88
"supports": ["BANGLEJS2"],

0 commit comments

Comments
 (0)