mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-01 03:55:47 +02: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