sleepphasealarm: Fix inverted setting

pull/2598/head
Erik Andresen 2023-02-23 19:20:16 +01:00
parent 52f48dc03f
commit 3b849ef326
3 changed files with 3 additions and 2 deletions

View File

@ -18,3 +18,4 @@
Limit logging on Bangle.js 1 to one day due to low memory
Add plot logged data to settings
0.15: Convert Yes/No On/Off in settings to checkboxes
0.16: Fix Keep alarm enabled inverted settings

View File

@ -2,7 +2,7 @@
"id": "sleepphasealarm",
"name": "SleepPhaseAlarm",
"shortName": "SleepPhaseAlarm",
"version": "0.15",
"version": "0.16",
"description": "Uses the accelerometer to estimate sleep and wake states with the principle of Estimation of Stationary Sleep-segments (ESS, see https://ubicomp.eti.uni-siegen.de/home/datasets/ichi14/index.html.en). This app will read the next alarm from the alarm application and will wake you up to 30 minutes early at the best guessed time when you are almost already awake.",
"icon": "app.png",
"tags": "tool,alarm",

View File

@ -92,7 +92,7 @@
'Keep alarm enabled': {
value: !!config.settings.disableAlarm,
onchange: v => {
config.settings.disableAlarm = v;
config.settings.disableAlarm = !v;
writeSettings();
}
}, "< Back" : () => back(),