mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-10 19:20:59 +00:00
Fix MediaUI close button on Catalyst
This commit is contained in:
parent
23960d6d0f
commit
009150bc3e
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue