diff --git a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowMediaPreviewView.swift b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowMediaPreviewView.swift index 88539649..42379055 100644 --- a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowMediaPreviewView.swift +++ b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowMediaPreviewView.swift @@ -173,7 +173,7 @@ struct BlurOverLay: View { @Environment(Theme.self) private var theme @Environment(\.isInCaptureMode) private var isInCaptureMode: Bool @Environment(UserPreferences.self) private var preferences - @Environment(\.isCompact) private var isCompact: Bool + @Environment(\.isMediaCompact) private var isCompact: Bool @Namespace var buttonSpace @@ -249,7 +249,7 @@ struct AltTextButton: View { let font: Font? @Environment(\.isInCaptureMode) private var isInCaptureMode: Bool - @Environment(\.isCompact) private var isCompact: Bool + @Environment(\.isMediaCompact) private var isCompact: Bool @Environment(UserPreferences.self) private var preferences @Environment(\.locale) private var locale @Environment(Theme.self) private var theme @@ -372,7 +372,7 @@ struct WrapperForPreview: View { .environment(UserPreferences.shared) .environment(QuickLook.shared) .environment(Theme.shared) - .environment(\.isCompact, isCompact) + .environment(\.isMediaCompact, isCompact) .environment(\.isInCaptureMode, isInCaptureMode) Divider() @@ -395,7 +395,6 @@ private struct FeaturedImagePreView: View { @Environment(\.isSecondaryColumn) private var isSecondaryColumn: Bool @Environment(Theme.self) private var theme - @Environment(\.isCompact) private var isCompact: Bool @Environment(\.isModal) private var isModal: Bool private var originalWidth: CGFloat {