调整了个人营养数据计算逻辑,修复了摄像头逻辑
This commit is contained in:
@@ -124,11 +124,7 @@ class MainActivity : AppCompatActivity() {
|
||||
)
|
||||
binding.recyclerview.adapter = adapter
|
||||
binding.tvFoodName.setOnClickListener {
|
||||
if (presentation.currentStep == 2) {
|
||||
presentation.step3()
|
||||
} else {
|
||||
presentation.step1()
|
||||
}
|
||||
SensorScaleUtils.zero()
|
||||
}
|
||||
registerDataChange()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user