health 0.36: Fix Distance graphs that used '1*' to remove the suffix
parent
3aa372bce1
commit
46bf6907a9
|
|
@ -39,3 +39,4 @@
|
||||||
Speed improvements (put temporary functions in RAM where possible)
|
Speed improvements (put temporary functions in RAM where possible)
|
||||||
0.34: Fix readFullDatabase (was skipping first month of data)
|
0.34: Fix readFullDatabase (was skipping first month of data)
|
||||||
0.35: Update boot/lib.min.js
|
0.35: Update boot/lib.min.js
|
||||||
|
0.36: Fix Distance graphs that used '1*' to remove the suffix
|
||||||
|
|
@ -32,7 +32,7 @@ function menuStepCount() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function menuDistance() {
|
function menuDistance() {
|
||||||
const distMult = 1*require("locale").distance(myprofile.strideLength, 2); // hackish: this removes the distance suffix, e.g. 'm'
|
const distMult = parseFloat(require("locale").distance(myprofile.strideLength, 2)); // this removes the distance suffix, e.g. 'm'
|
||||||
E.showMenu({
|
E.showMenu({
|
||||||
"": { title:/*LANG*/"Distance" },
|
"": { title:/*LANG*/"Distance" },
|
||||||
/*LANG*/"< Back": () => menuStepCount(),
|
/*LANG*/"< Back": () => menuStepCount(),
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "health",
|
"id": "health",
|
||||||
"name": "Health Tracking",
|
"name": "Health Tracking",
|
||||||
"shortName": "Health",
|
"shortName": "Health",
|
||||||
"version": "0.35",
|
"version": "0.36",
|
||||||
"description": "Logs health data and provides an app to view it",
|
"description": "Logs health data and provides an app to view it",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"screenshots" : [ { "url":"screenshot.png" } ],
|
"screenshots" : [ { "url":"screenshot.png" } ],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue