[6.3.0][Feat]司机屏天气效果开关状态同步给乘客屏
This commit is contained in:
@@ -764,7 +764,9 @@ 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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user