@@ -128,29 +128,31 @@ private extension BookingListView {
128128 }
129129
130130 func bookingItem( _ booking: Booking ) -> some View {
131- VStack ( spacing: 0 ) {
132- VStack ( alignment: . leading) {
133- Text ( booking. startDate. toString ( dateStyle: . short,
134- timeStyle: . short,
135- timeZone: BookingListTab . utcTimeZone) )
136- . font ( . body)
137- . fontWeight ( . medium)
138- . frame ( maxWidth: . infinity, alignment: . leading)
139- . foregroundStyle ( Color . primary)
140-
141- Text ( booking. summaryText)
142- . font ( . footnote)
143- . fontWeight ( . medium)
144- . foregroundStyle ( Color . secondary)
145-
146- HStack {
147- BookingBadgeView ( booking. attendanceStatus)
148- BookingBadgeView ( booking. bookingStatus)
149- Spacer ( )
150- }
131+ VStack ( alignment: . leading) {
132+ Text ( booking. startDate. toString ( dateStyle: . short,
133+ timeStyle: . short,
134+ timeZone: BookingListTab . utcTimeZone) )
135+ . font ( . body)
136+ . fontWeight ( . medium)
137+ . frame ( maxWidth: . infinity, alignment: . leading)
138+ . foregroundStyle ( Color . primary)
139+
140+ Text ( booking. summaryText)
141+ . font ( . footnote)
142+ . fontWeight ( . medium)
143+ . foregroundStyle ( Color . secondary)
144+
145+ HStack {
146+ BookingBadgeView ( booking. attendanceStatus)
147+ BookingBadgeView ( booking. bookingStatus)
148+ Spacer ( )
151149 }
152150 }
153- . listRowBackground ( booking == selectedBooking ? Color ( . listSelectedBackground) : Color ( . listForeground( modal: false ) ) )
151+ . padding ( )
152+ . background (
153+ ( booking == selectedBooking ? Color ( . listSelectedBackground) : Color ( . listForeground( modal: false ) ) )
154+ )
155+ . listRowInsets ( . init( ) )
154156 }
155157
156158 func emptyStateView( isSearching: Bool , onRefresh: @escaping ( ) async -> Void ) -> some View {
0 commit comments