1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 04:46:51 +01:00

Fix HR charts when min is set to 0

This commit is contained in:
José Rebelo 2024-08-24 12:15:15 +01:00
parent e23caa3ee6
commit bb50796d0a

View File

@ -64,6 +64,6 @@ public class HeartRateUtils {
}
public boolean isValidHeartRateValue(int value) {
return value >= getMinHeartRate() && value <= getMaxHeartRate();
return value > 0 && value >= getMinHeartRate() && value <= getMaxHeartRate();
}
}