1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-09 03:37:03 +01:00

Colmi R0x: Fix sleep chart intensity

This commit is contained in:
Arjan Schrijver 2024-09-29 23:13:09 +02:00
parent c8c9772ac8
commit 7d15859737

View File

@ -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();