添加菜品采集

This commit is contained in:
mazengfei
2025-10-31 09:53:51 +08:00
parent ed6c5e83be
commit e47b362883
16 changed files with 426 additions and 68 deletions
@@ -162,7 +162,7 @@ class SecondaryScreenPresentation(
Timber.d("step1")
currentStep = 1
LightManager.closeGreenLight()
LightManager.openRedLight()
LightManager.closeRedLight()
//回复上一次的设置
// lastWeight = 0.0
dinnerTypeInfo = null
@@ -188,7 +188,7 @@ class SecondaryScreenPresentation(
fun step2(foodInfo: FoodInfo) {
Timber.d("step2")
currentStep = 2
LightManager.openRedLight()
LightManager.closeRedLight()
LightManager.openGreenLight()
dinnerTypeInfo = null
userNutritionData = null
@@ -231,6 +231,7 @@ class SecondaryScreenPresentation(
fun step3() {
Timber.d("step3")
LightManager.closeRedLight()
LightManager.openGreenLight()
currentStep = 3
stepChangeCallback(currentStep)
if (currentFood == null) {