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:
parent
c8c9772ac8
commit
7d15859737
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user