Skip to content

Commit

Permalink
Merge pull request #2876 from bobrippling/multitimer-fix-hm
Browse files Browse the repository at this point in the history
multitimer: fix hardmode in new alarms/timers
  • Loading branch information
gfwilliams committed Jul 17, 2023
2 parents c6cf494 + 9b805d4 commit 63f88c6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/multitimer/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
0.02: Update for time_utils module
0.03: Use default Bangle formatter for booleans
0.04: Remove copied sched alarm.js & import newer features (oneshot alarms)
0.05: Fix creating new alarms/timers in hardmode
1 change: 0 additions & 1 deletion apps/multitimer/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ function editTimer(idx, a) {
a.last = 0;
a.data.ot = a.timer;
a.appid = "multitimer";
a.js = "(require('Storage').read('multitimer.alarm.js') !== undefined) ? load('multitimer.alarm.js') : load('sched.js')";
if (idx < 0) alarms.push(a);
else alarms[timerIdx[idx]] = a;
require("sched").setAlarms(alarms);
Expand Down
2 changes: 1 addition & 1 deletion apps/multitimer/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "multitimer",
"name": "Multi Timer",
"version": "0.04",
"version": "0.05",
"description": "Set timers and chronographs (stopwatches) and watch them count down in real time. Pause, create, edit, and delete timers and chronos, and add custom labels/messages. Also sets alarms.",
"icon": "app.png",
"screenshots": [
Expand Down

0 comments on commit 63f88c6

Please sign in to comment.