Content Filter view: Blurred background

This commit is contained in:
Thomas Ricouard 2024-01-21 11:22:07 +01:00
parent fb944f9c48
commit a79a181d6f
2 changed files with 1 additions and 3 deletions

View File

@ -135,6 +135,7 @@ extension View {
case .timelineContentFilter: case .timelineContentFilter:
NavigationSheet { TimelineContentFilterView() } NavigationSheet { TimelineContentFilterView() }
.presentationDetents([.medium]) .presentationDetents([.medium])
.presentationBackground(.thinMaterial)
.withEnvironments() .withEnvironments()
} }
} }

View File

@ -30,9 +30,6 @@ public struct TimelineContentFilterView: View {
} }
.navigationTitle("timeline.content-filter.title") .navigationTitle("timeline.content-filter.title")
.navigationBarTitleDisplayMode(.inline) .navigationBarTitleDisplayMode(.inline)
#if !os(visionOS)
.scrollContentBackground(.hidden) .scrollContentBackground(.hidden)
.background(theme.secondaryBackgroundColor)
#endif
} }
} }