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:
NavigationSheet { TimelineContentFilterView() }
.presentationDetents([.medium])
.presentationBackground(.thinMaterial)
.withEnvironments()
}
}

View file

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