fixed carsh

This commit is contained in:
lixiaopeng
2021-08-13 14:46:08 +08:00
parent f16979b6cb
commit 4965f95b14

View File

@@ -210,7 +210,7 @@ class ObuRecognizedResultDrawer() {
)
// 判断车辆V2X预警级别调整车辆颜色
if (!cvxRvInfoIndInfo.threat_infos.isNullOrEmpty()) {
if (!cvxRvInfoIndInfo.threat_infos.isNullOrEmpty() && options != null) {
// 修改颜色
when (cvxRvInfoIndInfo.threat_infos.first().threat_level) {
1 -> {