From a79a181d6f366eb4d81f2c0a45b378b5d0edfd8f Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sun, 21 Jan 2024 11:22:07 +0100 Subject: [PATCH] Content Filter view: Blurred background --- IceCubesApp/App/AppRegistry.swift | 1 + .../Sources/Timeline/View/TimelineContentFilterView.swift | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/IceCubesApp/App/AppRegistry.swift b/IceCubesApp/App/AppRegistry.swift index 3d677e87..73f2567b 100644 --- a/IceCubesApp/App/AppRegistry.swift +++ b/IceCubesApp/App/AppRegistry.swift @@ -135,6 +135,7 @@ extension View { case .timelineContentFilter: NavigationSheet { TimelineContentFilterView() } .presentationDetents([.medium]) + .presentationBackground(.thinMaterial) .withEnvironments() } } diff --git a/Packages/Timeline/Sources/Timeline/View/TimelineContentFilterView.swift b/Packages/Timeline/Sources/Timeline/View/TimelineContentFilterView.swift index cf2a5396..1d85e57b 100644 --- a/Packages/Timeline/Sources/Timeline/View/TimelineContentFilterView.swift +++ b/Packages/Timeline/Sources/Timeline/View/TimelineContentFilterView.swift @@ -30,9 +30,6 @@ public struct TimelineContentFilterView: View { } .navigationTitle("timeline.content-filter.title") .navigationBarTitleDisplayMode(.inline) - #if !os(visionOS) .scrollContentBackground(.hidden) - .background(theme.secondaryBackgroundColor) - #endif } }