1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 12:56:49 +01:00

Revert "swap +/- :)"

This reverts commit e027f3d526.
This commit is contained in:
Andreas Shimokawa 2020-08-14 22:54:39 +02:00
parent c21206fbe4
commit e73c881aa9

View File

@ -376,10 +376,10 @@ public class FetchSportsSummaryOperation extends AbstractFetchOperation {
addSummaryData("distanceMeters", distanceMeters, "meters"); addSummaryData("distanceMeters", distanceMeters, "meters");
addSummaryData("ascentMeters", ascentMeters, "meters"); addSummaryData("ascentMeters", ascentMeters, "meters");
addSummaryData("descentMeters", descentMeters, "meters"); addSummaryData("descentMeters", descentMeters, "meters");
if (maxAltitude != 100000) { if (maxAltitude != -100000) {
addSummaryData("maxAltitude", maxAltitude, "meters"); addSummaryData("maxAltitude", maxAltitude, "meters");
} }
if (minAltitude != -100000) { if (minAltitude != 100000) {
addSummaryData("minAltitude", minAltitude, "meters"); addSummaryData("minAltitude", minAltitude, "meters");
} }
addSummaryData("steps", steps, "steps_unit"); addSummaryData("steps", steps, "steps_unit");