bug fixes

master
Stiralbios 2022-04-07 18:21:43 +02:00
parent 513d2f7002
commit 47f9e581a3
1 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,7 @@ if (global.activityreminder) {
{
var health = Bangle.getHealthStatus("day");
stepsArray.unshift(health.steps);
stepsArray = activityreminder.stepsArray.slice(0, activityreminder.maxInnactivityMin);
stepsArray = stepsArray.slice(0, activityreminder.maxInnactivityMin);
}
else{
stepsArray = [];
@ -36,8 +36,7 @@ if (global.activityreminder) {
}
}
}
);
});
setInterval(global.activityreminder.run, 2000);
}