mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
parent
c21206fbe4
commit
e73c881aa9
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user