mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-09 03:37:03 +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) {
|
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