Skip to content

Commit 9549238

Browse files
author
thyttan
committed
Merge branch 'twenties' into app-loader
2 parents c01478b + 12c2119 commit 9549238

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

apps/twenties/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Vibrates to remind you to stand up and look away for healthy living.
1212

1313
Only vibrates during work days and hours.
1414

15-
## Creator
15+
## Contributors
1616

17-
[@splch](https://github.com/splch/)
17+
[@splch](https://github.com/splch/) (Creator)
18+
[@thyttan](https://github.com/thyttan/)

apps/twenties/lib.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@
1919
};
2020

2121
exports.buzzAndSetup = function () {
22-
setTimeout(() => { // Timeout to try and not interfere with `edgeclk` redrawing the time.
23-
Bangle.buzz();
24-
exports.setup();
25-
}, 10)
22+
Bangle.buzz();
23+
exports.setup();
2624
};
2725

2826
const JS_DELETE_ALARM_THEN_BUZZ_AND_SETUP = `require("sched").setAlarm("twenties", undefined); require('twenties').buzzAndSetup();`;
@@ -36,7 +34,8 @@
3634
t: TIME_AT_NEXT_BUZZ,
3735
dow: 0b0111110,
3836
hidden: true,
39-
group: "Hidden",
37+
msg: "Twenties",
38+
group: "Twenties",
4039
js: JS_DELETE_ALARM_THEN_BUZZ_AND_SETUP
4140
};
4241
S.setAlarm("twenties", alarm);

0 commit comments

Comments
 (0)