Skip to content

Commit

Permalink
feat: android speed limit view
Browse files Browse the repository at this point in the history
  • Loading branch information
Archdoog committed Dec 17, 2024
1 parent f84cf89 commit 1ae4f3b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ package com.stadiamaps.ferrostar.core.annotation
import com.stadiamaps.ferrostar.core.measurement.MeasurementSpeed
import com.stadiamaps.ferrostar.core.measurement.MeasurementSpeedUnit

data class AnnotationWrapper<T>(
val annotation: T? = null,
val speed: Speed? = null
) {
data class AnnotationWrapper<T>(val annotation: T? = null, val speed: Speed? = null) {
val speedLimit: MeasurementSpeed?
get() =
when (speed) {
Expand Down

0 comments on commit 1ae4f3b

Please sign in to comment.