change the color of obu tracker

This commit is contained in:
zhongchao
2022-08-26 11:00:01 +08:00
parent 115f80a972
commit d7e5d92eba
3 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ import com.mogo.eagle.core.data.enums.TrafficTypeEnum
fun TrafficData.threatLevelColor():String{
return when (threatLevel) {
1 -> {
"#D8D8D8FF"
"#4CA6D1FF"
}
2 -> {
"#FFD53EFF"
@@ -14,7 +14,7 @@ fun TrafficData.threatLevelColor():String{
"#FF3C45FF"
}
else -> {
"#D8D8D8FF"
"#4CA6D1FF"
}
}
}