Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sargunv committed Jan 9, 2025
1 parent 21fd6b8 commit ec73e49
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public interface ScaleBarMeasure {
if (this % 1.0 == 0.0) this.toLong().toString() else this.toString()
}

public data object Metric : Default(setOf(Meter, Kilometer)) {
public data object Metric : Default(Meter, Kilometer) {
@Composable
override fun getText(stop: Double, unit: LengthUnit): String {
val symbol =
Expand All @@ -117,7 +117,7 @@ public interface ScaleBarMeasure {
}
}

public data object FeetAndMiles : Default(setOf(Foot, Mile)) {
public data object FeetAndMiles : Default(Foot, Mile) {
@Composable
override fun getText(stop: Double, unit: LengthUnit): String {
val symbol =
Expand All @@ -130,7 +130,7 @@ public interface ScaleBarMeasure {
}
}

public data object YardsAndMiles : Default(setOf(Yard, Mile)) {
public data object YardsAndMiles : Default(Yard, Mile) {
@Composable
override fun getText(stop: Double, unit: LengthUnit): String {
val symbol =
Expand Down

0 comments on commit ec73e49

Please sign in to comment.