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))