From e027f3d526e46b73260184160964f4333e417832 Mon Sep 17 00:00:00 2001 From: vanous Date: Mon, 10 Aug 2020 15:31:37 +0200 Subject: [PATCH] swap +/- :) --- .../devices/huami/operations/FetchSportsSummaryOperation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/FetchSportsSummaryOperation.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/FetchSportsSummaryOperation.java index e4832e380..231ae2f22 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/FetchSportsSummaryOperation.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations/FetchSportsSummaryOperation.java @@ -339,10 +339,10 @@ public class FetchSportsSummaryOperation extends AbstractFetchOperation { addSummaryData("distanceMeters", distanceMeters, "meters"); addSummaryData("ascentMeters", ascentMeters, "meters"); addSummaryData("descentMeters", descentMeters, "meters"); - if (maxAltitude != -100000) { + if (maxAltitude != 100000) { addSummaryData("maxAltitude", maxAltitude, "meters"); } - if (minAltitude != 100000) { + if (minAltitude != -100000) { addSummaryData("minAltitude", minAltitude, "meters"); } addSummaryData("steps", steps, "steps_unit");