Changes cervix value to check for opening and firmness value
This commit is contained in:
@@ -36,6 +36,6 @@ export default function (cycleDays, tempEvalEndIndex) {
|
||||
return { detected: false }
|
||||
}
|
||||
|
||||
function isClosedAndHard (cervixValue) {
|
||||
return cervixValue.isClosed && cervixValue.isHard
|
||||
function isClosedAndHard (cervix) {
|
||||
return cervix.value.opening === 0 && cervix.value.firmness === 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user