Show distances in miles (app + widget) to match the miles filter

This commit is contained in:
FuelBoard Contributor
2026-08-11 19:18:27 +01:00
parent 6eae42ff3d
commit 3953c65a65
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ struct StationRow: View {
.lineLimit(1)
.truncationMode(.tail)
if let location {
Text(String(format: "%.1f km", station.distanceKM(to: location.lat, lng2: location.lng)))
Text(String(format: "%.1f mi", station.distanceKM(to: location.lat, lng2: location.lng) * 0.621371))
.font(.caption2)
.foregroundStyle(.secondary)
.monospacedDigit()