From 9267b4fcf38bf4b8c7cc1106fea12131600d18e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rebelo?= Date: Wed, 16 Oct 2024 23:43:11 +0100 Subject: [PATCH] Mi Band 9: Fix strength training --- .../devices/xiaomi/activity/impl/WorkoutSummaryParser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/WorkoutSummaryParser.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/WorkoutSummaryParser.java index f35c6cfe8..1db5cecbc 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/WorkoutSummaryParser.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/activity/impl/WorkoutSummaryParser.java @@ -231,6 +231,8 @@ public class WorkoutSummaryParser extends XiaomiActivityParser implements Activi final int headerSize; switch (version) { case 8: + case 9: + case 10: headerSize = 6; break; default: