Favourites tab: remove the crown 'cheapest favourite' banner

The gold-crown header row is redundant with the list itself (rows are already
cheapest-first with a TOP badge on the first). The bottom caption about
alerts monitoring stays.
This commit is contained in:
FuelBoard Contributor
2026-08-12 23:00:16 +01:00
parent d864319593
commit 0fef9870cb
-11
View File
@@ -92,17 +92,6 @@ struct FavouritesView: View {
.pickerStyle(.segmented) .pickerStyle(.segmented)
} }
Section {
if let cheapest, let price = cheapestPrice {
HStack(spacing: 10) {
Image(systemName: "crown.fill")
.foregroundStyle(.yellow)
Text("Cheapest \(activeFuel.displayName) favourite: \(cheapest.name)\(String(format: "%.1fp", price))")
.font(.footnote)
}
}
}
Section("\(activeFuel.displayName) favourites — cheapest first") { Section("\(activeFuel.displayName) favourites — cheapest first") {
ForEach(Array(ranked.enumerated()), id: \.element.id) { index, station in ForEach(Array(ranked.enumerated()), id: \.element.id) { index, station in
StationRow( StationRow(