|
@@ -350,7 +350,7 @@ class ModesDetailActivity : CommonBVMActivity<ActivityModeDetailBinding, ModesVi
|
|
|
/**
|
|
|
* 当后台点进来模式页面,currentTemp为0故在这重新set值
|
|
|
* */
|
|
|
- if (currentTemp==0){
|
|
|
+ if (currentTemp==0&&keep){
|
|
|
// temp 当前温度 目标温度 targetTemp
|
|
|
currentTemp = if (CofarSDK.devInfo().temp>baseMode.minTemp){
|
|
|
CofarSDK.devInfo().temp.toInt()
|
|
@@ -421,7 +421,7 @@ class ModesDetailActivity : CommonBVMActivity<ActivityModeDetailBinding, ModesVi
|
|
|
* 当后台点进来模式页面,currentTemp为0故在这重新set值
|
|
|
* */
|
|
|
|
|
|
- if (currentTemp==0){
|
|
|
+ if (currentTemp==0&&keep){
|
|
|
// temp 当前温度 目标温度 targetTemp
|
|
|
currentTemp = if (CofarSDK.devInfo().temp>baseMode.minTemp){
|
|
|
CofarSDK.devInfo().temp.toInt()
|