Minor fix

pull/2177/head
David Peer 2022-10-15 23:21:24 +02:00
parent 84f39a5c8c
commit 6859798b4a
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ function drawSteps(){
g.setFontAlign(0,0); g.setFontAlign(0,0);
g.setFont("7x11Numeric7Seg",3); g.setFont("7x11Numeric7Seg",3);
var text = "4234"; var text = Bangle.getHealthStatus("day").steps;
var w = g.stringWidth(text); var w = g.stringWidth(text);
g.setColor(g.theme.bg); g.setColor(g.theme.bg);
g.fillRect(cx-w/2-4, 120, cx+w/2+2, 140+20); g.fillRect(cx-w/2-4, 120, cx+w/2+2, 140+20);