Use Bangle.getHealthStatus("day").steps) instead
parent
7dfabf9d7e
commit
2c9ec746b6
|
|
@ -2,3 +2,4 @@
|
||||||
0.02: New config options such as step, meridian, short/long formats, custom prefix/suffix
|
0.02: New config options such as step, meridian, short/long formats, custom prefix/suffix
|
||||||
0.03: Allows showing the month in short or long format by setting `"shortMonth"` to true or false
|
0.03: Allows showing the month in short or long format by setting `"shortMonth"` to true or false
|
||||||
0.04: Improves touchscreen drag handling for background apps such as Pattern Launcher
|
0.04: Improves touchscreen drag handling for background apps such as Pattern Launcher
|
||||||
|
0.05: Fixes step count not resetting after a new day starts
|
||||||
|
|
|
||||||
|
|
@ -249,7 +249,7 @@
|
||||||
boxes.batt.string = modString(boxes.batt, E.getBattery());
|
boxes.batt.string = modString(boxes.batt, E.getBattery());
|
||||||
}
|
}
|
||||||
if (boxes.step) {
|
if (boxes.step) {
|
||||||
boxes.step.string = modString(boxes.step, Bangle.getStepCount());
|
boxes.step.string = modString(boxes.step, Bangle.getHealthStatus("day").steps);
|
||||||
}
|
}
|
||||||
boxKeys.forEach((boxKey) => {
|
boxKeys.forEach((boxKey) => {
|
||||||
let boxItem = boxes[boxKey];
|
let boxItem = boxes[boxKey];
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "boxclk",
|
"id": "boxclk",
|
||||||
"name": "Box Clock",
|
"name": "Box Clock",
|
||||||
"version": "0.04",
|
"version": "0.05",
|
||||||
"description": "A customizable clock with configurable text boxes that can be positioned to show your favorite background",
|
"description": "A customizable clock with configurable text boxes that can be positioned to show your favorite background",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"screenshots": [
|
"screenshots": [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue