mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-11 01:21:56 +01:00
Bangle.js:actTrk: fix fastest/slowest pace
This commit is contained in:
parent
9f2df0262f
commit
21882042c4
@ -443,8 +443,8 @@ class BangleJSActivityTrack extends BangleJSDeviceSupport {
|
|||||||
// analyticsObject.getJSONArray("Total Distance").getDouble(logLength-1)),
|
// analyticsObject.getJSONArray("Total Distance").getDouble(logLength-1)),
|
||||||
// "s/km"
|
// "s/km"
|
||||||
//);
|
//);
|
||||||
summaryData = addSummaryData(summaryData, "minPace", minOfJSONArray(analyticsObject.getJSONArray("Pace")), "s/km");
|
summaryData = addSummaryData(summaryData, "minPace", maxOfJSONArray(analyticsObject.getJSONArray("Pace")), "s/km");
|
||||||
summaryData = addSummaryData(summaryData, "maxPace", maxOfJSONArray(analyticsObject.getJSONArray("Pace")), "s/km");
|
summaryData = addSummaryData(summaryData, "maxPace", minOfJSONArray(analyticsObject.getJSONArray("Pace")), "s/km");
|
||||||
//summaryData = addSummaryData(summaryData,"averageSpeed2",3,"mm");
|
//summaryData = addSummaryData(summaryData,"averageSpeed2",3,"mm");
|
||||||
}
|
}
|
||||||
if (analyticsObject.has("Cadence")) {
|
if (analyticsObject.has("Cadence")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user