diff --git a/Packages/MediaUI/Sources/MediaUI/MediaUIView.swift b/Packages/MediaUI/Sources/MediaUI/MediaUIView.swift index 4ec136f2..a8c096d8 100644 --- a/Packages/MediaUI/Sources/MediaUI/MediaUIView.swift +++ b/Packages/MediaUI/Sources/MediaUI/MediaUIView.swift @@ -75,7 +75,9 @@ private struct MediaToolBar: ToolbarContent { let data: DisplayData var body: some ToolbarContent { +#if !targetEnvironment(macCatalyst) DismissToolbarItem() +#endif QuickLookToolbarItem(itemUrl: data.url) AltTextToolbarItem(alt: data.description) SavePhotoToolbarItem(url: data.url, type: data.type)