Remove unwanted setInterval for steps update

master
RKBoss6 2025-08-11 18:37:49 -04:00 committed by GitHub
parent 7932107edf
commit 04e76db519
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -87,9 +87,8 @@ exports.load = function() {
text : v, v : v, min : 0, max : stepGoal,
img : atob("GBiBAAcAAA+AAA/AAA/AAB/AAB/gAA/g4A/h8A/j8A/D8A/D+AfH+AAH8AHn8APj8APj8AHj4AHg4AADAAAHwAAHwAAHgAAHgAADAA==")
};},
show : function() { stepUpdateInterval=setInterval(stepUpdateHandler,150000); stepUpdateHandler(); },
hide : function() { clearInterval(stepUpdateInterval); },
run:stepUpdateHandler
show : function() { Bangle.on("step", stepUpdateHandler); stepUpdateHandler(); },
hide : function() { Bangle.removeListener("step", stepUpdateHandler); },
},
{ name : "HRM",
hasRange : true,