change the color of obu tracker
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user