iOS drawer: drop the grouped-section card behind show/hide-all

listRowBackground(.clear) so only the two bordered button pills show, without
the surrounding grouped-list capsule.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Scarriffle
2026-07-15 06:46:32 +02:00
parent 108503ad53
commit daf0345120

View File

@@ -44,6 +44,8 @@ struct CalendarFilterContent: View {
.buttonStyle(.bordered).frame(maxWidth: .infinity) .buttonStyle(.bordered).frame(maxWidth: .infinity)
} }
.listRowInsets(EdgeInsets(top: 6, leading: 12, bottom: 6, trailing: 12)) .listRowInsets(EdgeInsets(top: 6, leading: 12, bottom: 6, trailing: 12))
// No surrounding grouped-section card just the two button pills.
.listRowBackground(Color.clear)
} }
let visibleLocals = localCalendars.filter { let visibleLocals = localCalendars.filter {
!banished.contains(CalendarStore.calendarKey(source: "local", calendarId: "\($0.id)")) !banished.contains(CalendarStore.calendarKey(source: "local", calendarId: "\($0.id)"))