remove debug logs
parent
8daef5459c
commit
ac29417014
|
|
@ -3,7 +3,6 @@ function drawAlert(){
|
|||
title:"Activity reminder",
|
||||
buttons : {"Ok": true,"Dismiss": false}
|
||||
}).then(function(v) {
|
||||
console.log(stepsArray); // todo remove
|
||||
if(v == true){
|
||||
stepsArray = stepsArray.slice(0, activityreminder.maxInnactivityMin - 3);
|
||||
require("activityreminder").saveStepsArray(stepsArray);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
function run(){
|
||||
var now = new Date();
|
||||
var h = now.getHours();
|
||||
console.log(stepsArray); // todo remove
|
||||
if(h >= activityreminder.startHour && h < activityreminder.endHour){
|
||||
var health = Bangle.getHealthStatus("day");
|
||||
stepsArray.unshift(health.steps);
|
||||
|
|
|
|||
Loading…
Reference in New Issue