mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Fix HR charts when min is set to 0
This commit is contained in:
parent
e23caa3ee6
commit
bb50796d0a
@ -64,6 +64,6 @@ public class HeartRateUtils {
|
||||
}
|
||||
|
||||
public boolean isValidHeartRateValue(int value) {
|
||||
return value >= getMinHeartRate() && value <= getMaxHeartRate();
|
||||
return value > 0 && value >= getMinHeartRate() && value <= getMaxHeartRate();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user