1
0
Fork 0

Bugfix: Alarm not working.

master
David Peer 2022-01-11 18:20:53 +01:00
parent a0321b6864
commit 755f44cf3f
2 changed files with 5 additions and 4 deletions

View File

@ -8,4 +8,5 @@
0.08: Support for multiple screens. 24h graph for steps + HRM. Fullscreen Mode.
0.09: Tab anywhere to open the launcher.
0.10: Removed swipes to be compatible with the Pattern Launcher. Stability improvements.
0.11: Show the gadgetbridge weather temperature (settings).
0.11: Show the gadgetbridge weather temperature (settings).
0.12: Refactoring and stability improvements.

View File

@ -470,7 +470,7 @@ function handleAlarm(){
.then(() => {
// Update alarm state to disabled
settings.alarm = -1;
Storage.writeJSON(SETTINGS_FILE, settings);
storage.writeJSON(SETTINGS_FILE, settings);
});
}
@ -510,7 +510,7 @@ function increaseAlarm(){
settings.alarm = getCurrentTimeInMinutes() + 5;
}
Storage.writeJSON(SETTINGS_FILE, settings);
storage.writeJSON(SETTINGS_FILE, settings);
}
@ -521,7 +521,7 @@ function decreaseAlarm(){
settings.alarm = -1;
}
Storage.writeJSON(SETTINGS_FILE, settings);
storage.writeJSON(SETTINGS_FILE, settings);
}
function feedback(){