From 077156c559b1c540da12dd821288d396bedaec00 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Fri, 14 Jul 2023 21:04:21 +0100 Subject: [PATCH 1/2] multitimer: fix hardmode in new alarms/timers --- apps/multitimer/app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/multitimer/app.js b/apps/multitimer/app.js index ae8647db0..677b971ef 100644 --- a/apps/multitimer/app.js +++ b/apps/multitimer/app.js @@ -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); From 9b805d4692e69c7006ffa2bf80f86b77182cf784 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Fri, 14 Jul 2023 21:29:58 +0100 Subject: [PATCH 2/2] multitimer: version bump --- apps/multitimer/ChangeLog | 1 + apps/multitimer/metadata.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/multitimer/ChangeLog b/apps/multitimer/ChangeLog index 842384c8d..27cfd17a5 100644 --- a/apps/multitimer/ChangeLog +++ b/apps/multitimer/ChangeLog @@ -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 diff --git a/apps/multitimer/metadata.json b/apps/multitimer/metadata.json index 7a23052c9..1db3235a1 100644 --- a/apps/multitimer/metadata.json +++ b/apps/multitimer/metadata.json @@ -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": [