From afc167ea39609a377d2f98acec285976e1553c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 22 Dec 2024 18:00:23 +0200 Subject: [PATCH] Xiaomi: Change workout type 0x012d from stair climber to stairs This is the activity for climbing actual stairs, not training on a stair climber machine. --- .../xiaomi/activity/impl/XiaomiSimpleActivityParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/XiaomiSimpleActivityParser.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/XiaomiSimpleActivityParser.java index c6ec441da..da95d963d 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/XiaomiSimpleActivityParser.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/XiaomiSimpleActivityParser.java @@ -137,7 +137,7 @@ public class XiaomiSimpleActivityParser { summary.setActivityKind(ActivityKind.ROLLER_SKATING.getCode()); break; case 301: // stair climbing 0x012d - summary.setActivityKind(ActivityKind.STAIR_CLIMBER.getCode()); + summary.setActivityKind(ActivityKind.STAIRS.getCode()); break; case 303: // core training 0x012f summary.setActivityKind(ActivityKind.CORE_TRAINING.getCode());