添加菜品采集
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user