Update widstep.wid.js

pull/1715/head
sir-indy 2022-04-19 16:20:01 +01:00 committed by GitHub
parent 702cd09f79
commit ea95dbfbf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ Bangle.on('lcdPower', function(on) {
WIDGETS["widstep"]={area:"tl", sortorder:-1, width:28,
draw:function() {
if (!Bangle.isLCDOn()) return; // dont redraw if LCD is off
//var steps = Bangle.getHealthStatus("day").steps;
var steps = 5285;
var steps = Bangle.getHealthStatus("day").steps;
//var steps = 5285;
g.reset();
g.setColor(g.theme.bg);
g.fillRect(this.x, this.y, this.x + this.width, this.y + 23);