Live Activity: add distance to compact CarPlay layout
This commit is contained in:
@@ -123,7 +123,7 @@ private struct FuelBoardLiveActivityView: View {
|
|||||||
size: 15, weight: .bold)
|
size: 15, weight: .bold)
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
}
|
}
|
||||||
Text(context.state.stationName)
|
Text("\(context.state.stationName) · \(context.state.distanceText)")
|
||||||
.font(.system(size: 9))
|
.font(.system(size: 9))
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user