bug fixes
parent
513d2f7002
commit
47f9e581a3
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue