Skip to content

Commit

Permalink
Changed the exception to face detection
Browse files Browse the repository at this point in the history
  • Loading branch information
amalnanavati committed Mar 12, 2024
1 parent 8c5f2f9 commit bbeb0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feedingwebapp/src/Pages/Home/MealStates/DetectingFace.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const DetectingFace = (props) => {
// If the app got to this screen after moving away from the user's mouth,
// don't auto-continue. Only do so if it gets to this page from
// R_MovingToStagingConfiguration
if (faceDetectionAutoContinue && prevMealState !== MEAL_STATE.R_MovingFromMouth) {
if (faceDetectionAutoContinue && prevMealState === MEAL_STATE.R_MovingToStagingConfiguration) {
moveToMouthCallback()
}
},
Expand Down

0 comments on commit bbeb0da

Please sign in to comment.