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)
|
||||
0.34: Fix readFullDatabase (was skipping first month of data)
|
||||
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() {
|
||||
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({
|
||||
"": { title:/*LANG*/"Distance" },
|
||||
/*LANG*/"< Back": () => menuStepCount(),
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"id": "health",
|
||||
"name": "Health Tracking",
|
||||
"shortName": "Health",
|
||||
"version": "0.35",
|
||||
"version": "0.36",
|
||||
"description": "Logs health data and provides an app to view it",
|
||||
"icon": "app.png",
|
||||
"screenshots" : [ { "url":"screenshot.png" } ],
|
||||
|
|
|
|||
Loading…
Reference in New Issue