From 21882042c405445f4ba241fdd04b699963c4e3f9 Mon Sep 17 00:00:00 2001 From: Ganblejs Date: Wed, 6 Mar 2024 22:38:07 +0100 Subject: [PATCH] Bangle.js:actTrk: fix fastest/slowest pace --- .../service/devices/banglejs/BangleJSActivityTrack.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/banglejs/BangleJSActivityTrack.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/banglejs/BangleJSActivityTrack.java index b8ab40ecb..0dbceac2e 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/banglejs/BangleJSActivityTrack.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/banglejs/BangleJSActivityTrack.java @@ -443,8 +443,8 @@ class BangleJSActivityTrack extends BangleJSDeviceSupport { // analyticsObject.getJSONArray("Total Distance").getDouble(logLength-1)), // "s/km" //); - summaryData = addSummaryData(summaryData, "minPace", minOfJSONArray(analyticsObject.getJSONArray("Pace")), "s/km"); - summaryData = addSummaryData(summaryData, "maxPace", maxOfJSONArray(analyticsObject.getJSONArray("Pace")), "s/km"); + summaryData = addSummaryData(summaryData, "minPace", maxOfJSONArray(analyticsObject.getJSONArray("Pace")), "s/km"); + summaryData = addSummaryData(summaryData, "maxPace", minOfJSONArray(analyticsObject.getJSONArray("Pace")), "s/km"); //summaryData = addSummaryData(summaryData,"averageSpeed2",3,"mm"); } if (analyticsObject.has("Cadence")) {