I also think you can remove curved brakets ``` va...
# codingconventions
a
I also think you can remove curved brakets
Copy code
val (lat, lng) = when (enum) {
    case1 -> trip.startLatitude to trip.startLongitude
    case2 -> trip.endLatitude to trip.endLongitude
}