From 76f850e25649c252d4a0721714fb984d5af4190c Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Wed, 19 Mar 2025 23:09:39 -0400 Subject: [PATCH] fuel log list ui updates --- Gas Man/FuelLogs/FuelLogSummaryView.swift | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Gas Man/FuelLogs/FuelLogSummaryView.swift b/Gas Man/FuelLogs/FuelLogSummaryView.swift index 441fe82..b3bd2dd 100644 --- a/Gas Man/FuelLogs/FuelLogSummaryView.swift +++ b/Gas Man/FuelLogs/FuelLogSummaryView.swift @@ -21,7 +21,13 @@ struct FuelLogSummaryView: View { var distanceSincePrevious: Double? var body: some View { + + VStack(alignment: .leading, spacing: 2) { + Rectangle() + .fill(Color.gray) + .frame(height: 2) + // Row 1: Date and MPG (if available) HStack { Text(log.date ?? Date(), formatter: dateFormatter) @@ -36,8 +42,8 @@ struct FuelLogSummaryView: View { } } .padding(2) - .background(Color.blue) - .cornerRadius(10) +// .background(Color.accentColor) + .cornerRadius(4) Divider() // Row 2: Distance (instead of odometer) and Fuel Volume @@ -81,6 +87,9 @@ struct FuelLogSummaryView: View { .bold() } } + Rectangle() + .fill(Color.gray) + .frame(height: 2) } .padding(8) .background(Color(.secondarySystemBackground))