remove debug logs

master
Stiralbios 2022-04-18 17:43:05 +02:00
parent 8daef5459c
commit ac29417014
2 changed files with 0 additions and 2 deletions

View File

@ -3,7 +3,6 @@ function drawAlert(){
title:"Activity reminder", title:"Activity reminder",
buttons : {"Ok": true,"Dismiss": false} buttons : {"Ok": true,"Dismiss": false}
}).then(function(v) { }).then(function(v) {
console.log(stepsArray); // todo remove
if(v == true){ if(v == true){
stepsArray = stepsArray.slice(0, activityreminder.maxInnactivityMin - 3); stepsArray = stepsArray.slice(0, activityreminder.maxInnactivityMin - 3);
require("activityreminder").saveStepsArray(stepsArray); require("activityreminder").saveStepsArray(stepsArray);

View File

@ -1,7 +1,6 @@
function run(){ function run(){
var now = new Date(); var now = new Date();
var h = now.getHours(); var h = now.getHours();
console.log(stepsArray); // todo remove
if(h >= activityreminder.startHour && h < activityreminder.endHour){ if(h >= activityreminder.startHour && h < activityreminder.endHour){
var health = Bangle.getHealthStatus("day"); var health = Bangle.getHealthStatus("day");
stepsArray.unshift(health.steps); stepsArray.unshift(health.steps);