From 7d158597376c704c2c658a684e2720fa6ca64a91 Mon Sep 17 00:00:00 2001 From: Arjan Schrijver Date: Sun, 29 Sep 2024 23:13:09 +0200 Subject: [PATCH] Colmi R0x: Fix sleep chart intensity --- .../gadgetbridge/entities/AbstractColmiActivitySample.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/entities/AbstractColmiActivitySample.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/entities/AbstractColmiActivitySample.java index 995f311e8..97d88c768 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/entities/AbstractColmiActivitySample.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/entities/AbstractColmiActivitySample.java @@ -28,7 +28,7 @@ public abstract class AbstractColmiActivitySample extends AbstractActivitySample @Override public int getRawIntensity() { - if (rawIntensity > 0) { + if (rawIntensity != 0) { return rawIntensity; } else { return getCalories();