Content Filter view: Blurred background
This commit is contained in:
parent
fb944f9c48
commit
a79a181d6f
|
@ -135,6 +135,7 @@ extension View {
|
||||||
case .timelineContentFilter:
|
case .timelineContentFilter:
|
||||||
NavigationSheet { TimelineContentFilterView() }
|
NavigationSheet { TimelineContentFilterView() }
|
||||||
.presentationDetents([.medium])
|
.presentationDetents([.medium])
|
||||||
|
.presentationBackground(.thinMaterial)
|
||||||
.withEnvironments()
|
.withEnvironments()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue