diff --git a/apps/multitimer/README.md b/apps/multitimer/README.md index cbbe5c92c..04bdf4a6e 100644 --- a/apps/multitimer/README.md +++ b/apps/multitimer/README.md @@ -2,7 +2,7 @@ With this app, you can set timers and chronographs (stopwatches) and watch them count down/up in real time. You can also set alarms - swipe left or right to switch between the three functions. "Hard mode" is also available for timers and alarms. It will double the number of buzz counts and you will have to swipe the screen five to eight times correctly - make a mistake, and you will need to start over. -"Oneshot" can be set on timers and alarms to have it delete itself once it's sounded (uses the "Delete after expiration" setting from the alarm app). +"Delete after expiration" can be set on a timer/alarm to have it delete itself once it's sounded (the same as the alarm app). ## WARNING * Editing timers in another app (such as the default Alarm app) is not recommended. Editing alarms should not be a problem (in theory). diff --git a/apps/multitimer/app.js b/apps/multitimer/app.js index e133820b0..ae8647db0 100644 --- a/apps/multitimer/app.js +++ b/apps/multitimer/app.js @@ -1,13 +1,6 @@ Bangle.loadWidgets(); Bangle.drawWidgets(); -const triggercheck = ` - eval(require("Storage").read("multitimer.ext.js")); - buzzCount *= 3; - startHM(); - "skipPrompt" -`; - var R = Bangle.appRect; var layer; var drag; diff --git a/apps/multitimer/boot.js b/apps/multitimer/boot.js index 13f1d6363..70b9032f6 100644 --- a/apps/multitimer/boot.js +++ b/apps/multitimer/boot.js @@ -1,8 +1,8 @@ { - const resetTimer = alarm => { - if (alarm.timer) alarm.timer = alarm.data.ot; - }; + const resetTimer = alarm => { + if (alarm.timer) alarm.timer = alarm.data.ot; + }; - Bangle.on("alarmSnooze", resetTimer); - Bangle.on("alarmDismiss", resetTimer); + Bangle.on("alarmSnooze", resetTimer); + Bangle.on("alarmDismiss", resetTimer); } diff --git a/apps/sched/ChangeLog b/apps/sched/ChangeLog index 951f4e2cc..92b04fb32 100644 --- a/apps/sched/ChangeLog +++ b/apps/sched/ChangeLog @@ -23,4 +23,3 @@ 0.20: Alarm dismiss and snooze events 0.21: Fix crash in clock_info 0.22: Dated event repeat option -0.23: Allow alarms to run custom code (and disable the default prompt) when triggered diff --git a/apps/sched/metadata.json b/apps/sched/metadata.json index 7f94a0a18..aa286ce6a 100644 --- a/apps/sched/metadata.json +++ b/apps/sched/metadata.json @@ -1,7 +1,7 @@ { "id": "sched", "name": "Scheduler", - "version": "0.23", + "version": "0.22", "description": "Scheduling library for alarms and timers", "icon": "app.png", "type": "scheduler", diff --git a/typescript/types/sched.d.ts b/typescript/types/sched.d.ts index f12e425db..78ad0c8d4 100644 --- a/typescript/types/sched.d.ts +++ b/typescript/types/sched.d.ts @@ -65,10 +65,6 @@ declare module Sched { js?: string, data?: unknown, - // optional features - triggercheck?: string, // code that's eval'd when the alarm is triggered, - // may return "skipPrompt" to cancel the default behaviour - // set by sched last?: number, } & (