feat: indicate Costco membership requirement

This commit is contained in:
FuelBoard Contributor
2026-09-19 08:10:15 +01:00
parent 551a40ddf0
commit 3a1ef0bd59
4 changed files with 56 additions and 0 deletions
+8
View File
@@ -45,6 +45,14 @@ struct StationDetailView: View {
LabeledContent("Distance", value: distanceUnit.format(km))
.monospacedDigit()
}
ForEach(StationNotice.notices(for: station)) { notice in
Label(notice.title, systemImage: notice.symbolName)
.font(.subheadline.weight(.semibold))
.foregroundStyle(.orange)
.padding(.horizontal, 10)
.padding(.vertical, 6)
.background(Capsule().fill(Color.orange.opacity(0.14)))
}
}
Section {
Button {