From a24b2a324025ba298de11f063a47c6e67027943d Mon Sep 17 00:00:00 2001 From: shannon Date: Tue, 11 Feb 2025 08:44:53 -0500 Subject: [PATCH] Dark mode update: .secondarySystemBackground for inline post previews --- .../InlinePostPreview.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon/In Progress New Layout and Datamodel/InlinePostPreview.swift b/Mastodon/In Progress New Layout and Datamodel/InlinePostPreview.swift index c373e5aec..60c72c151 100644 --- a/Mastodon/In Progress New Layout and Datamodel/InlinePostPreview.swift +++ b/Mastodon/In Progress New Layout and Datamodel/InlinePostPreview.swift @@ -27,7 +27,7 @@ struct InlinePostPreview: View { .frame(maxWidth: .infinity) .background { RoundedRectangle(cornerRadius: 8) - .fill(colorScheme == .dark ? AnyShapeStyle(.separator) : AnyShapeStyle(.clear)) + .fill(colorScheme == .dark ? AnyShapeStyle(Color(UIColor.secondarySystemBackground)) : AnyShapeStyle(.clear)) .stroke(.separator) } }