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:
@@ -92,17 +92,6 @@ struct FavouritesView: View {
|
||||
.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") {
|
||||
ForEach(Array(ranked.enumerated()), id: \.element.id) { index, station in
|
||||
StationRow(
|
||||
|
||||
Reference in New Issue
Block a user