From bbeb0da6b7c48addfd2f5250da854c19152c8960 Mon Sep 17 00:00:00 2001 From: Amal Nanavati Date: Tue, 12 Mar 2024 14:10:24 -0700 Subject: [PATCH] Changed the exception to face detection --- feedingwebapp/src/Pages/Home/MealStates/DetectingFace.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feedingwebapp/src/Pages/Home/MealStates/DetectingFace.jsx b/feedingwebapp/src/Pages/Home/MealStates/DetectingFace.jsx index 2e327b1f..3c321eda 100644 --- a/feedingwebapp/src/Pages/Home/MealStates/DetectingFace.jsx +++ b/feedingwebapp/src/Pages/Home/MealStates/DetectingFace.jsx @@ -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() } },