From 3a9e1aa716321303518519bf7ca10158dcf1d552 Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Sun, 4 Jun 2023 17:11:30 -0400 Subject: [PATCH] + backdrop for play triangle --- .../View/Content/InlineMediaOverlayContainer.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MastodonSDK/Sources/MastodonUI/View/Content/InlineMediaOverlayContainer.swift b/MastodonSDK/Sources/MastodonUI/View/Content/InlineMediaOverlayContainer.swift index 17e1d48e2..16928d99e 100644 --- a/MastodonSDK/Sources/MastodonUI/View/Content/InlineMediaOverlayContainer.swift +++ b/MastodonSDK/Sources/MastodonUI/View/Content/InlineMediaOverlayContainer.swift @@ -64,6 +64,12 @@ struct InlineMediaOverlayContainer: View { .font(.system(size: 54)) .foregroundColor(.white) .shadow(color: .black.opacity(0.5), radius: 32, x: 0, y: 0) + .background(alignment: .center) { + Circle() + .fill(.ultraThinMaterial) + .frame(width: 40, height: 40) + .colorScheme(.light) + } } } .onChange(of: altDescription) { _ in