Simplify station financial verdicts

This commit is contained in:
FuelBoard Contributor
2026-10-17 19:55:55 +01:00
parent 7aaaffa1c5
commit c6e252d194
7 changed files with 94 additions and 28 deletions
+9 -3
View File
@@ -157,6 +157,15 @@ struct FavouritesView: View {
}
}
if showsSavingsComparisonExplanation {
Section {
Text(String(localized: "Price colours show pump price competitiveness. Savings compare with your closest station, including journey costs.", comment: "Station listing price and savings explanation"))
.font(.footnote)
.foregroundStyle(.secondary)
.fixedSize(horizontal: false, vertical: true)
}
}
Section {
ForEach(Array(ordered.enumerated()), id: \.element.id) { index, station in
StationRow(
@@ -180,9 +189,6 @@ struct FavouritesView: View {
} footer: {
VStack(alignment: .leading, spacing: 12) {
Text(String(localized: "The first station is the favourite used in single widgets. Tap Edit, then drag to reorder.", comment: "Favourites reorder explanation"))
if showsSavingsComparisonExplanation {
Text(String(localized: "Savings are compared with your nearest station, just like in the Stations tab.", comment: "Favourites fuel-savings explanation"))
}
}
.font(.footnote)
.foregroundStyle(.secondary)