[6.3.0][Opt]taxi乘客屏默认开启天气效果

This commit is contained in:
chenfufeng
2024-03-27 18:32:53 +08:00
parent e27b271e60
commit 1d06e1a18c
3 changed files with 2 additions and 4 deletions

View File

@@ -763,10 +763,8 @@ internal class SOPSettingView @JvmOverloads constructor(
}
it.layoutParams = params
it.setOnCheckedChangeListener { _, isChecked ->
CallerMapUIServiceManager.getMapUIController()?.setWeatherEnable(isChecked)
CallerTelematicManager.sendMsgToAllClients(TelematicConstant.WEATHER_SWITCH_STATUS, (if (isChecked) "1" else "0").toByteArray())
}
CallerMapUIServiceManager.getMapUIController()?.setWeatherEnable(true)
}
}