Merge pull request #1587 from Ronin0000/master

Fix LCARS clock alarm not to go bigger than 100;
master
Gordon Williams 2022-03-18 08:34:35 +00:00 committed by GitHub
commit 262c907c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -15,4 +15,5 @@
0.15: Using wpedom to count steps.
0.16: Improved stability. Wind can now be shown.
0.17: Settings for mph/kph and other minor improvements.
0.18: Fullscreen mode can now be enabled or disabled in the settings.
0.18: Fullscreen mode can now be enabled or disabled in the settings.
0.19: Alarms can not go bigger than 100.

View File

@ -626,7 +626,7 @@ Bangle.on('charging',function(charging) {
function increaseAlarm(){
if(isAlarmEnabled()){
if(isAlarmEnabled() && getAlarmMinutes() < 95){
settings.alarm += 5;
} else {
settings.alarm = getCurrentTimeInMinutes() + 5;

View File

@ -3,7 +3,7 @@
"name": "LCARS Clock",
"shortName":"LCARS",
"icon": "lcars.png",
"version":"0.18",
"version":"0.19",
"readme": "README.md",
"supports": ["BANGLEJS2"],
"description": "Library Computer Access Retrieval System (LCARS) clock.",