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:
@@ -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)"))
|
||||||
|
|||||||
Reference in New Issue
Block a user