mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-28 19:21:16 +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
|
let data: DisplayData
|
||||||
|
|
||||||
var body: some ToolbarContent {
|
var body: some ToolbarContent {
|
||||||
|
#if !targetEnvironment(macCatalyst)
|
||||||
DismissToolbarItem()
|
DismissToolbarItem()
|
||||||
|
#endif
|
||||||
QuickLookToolbarItem(itemUrl: data.url)
|
QuickLookToolbarItem(itemUrl: data.url)
|
||||||
AltTextToolbarItem(alt: data.description)
|
AltTextToolbarItem(alt: data.description)
|
||||||
SavePhotoToolbarItem(url: data.url, type: data.type)
|
SavePhotoToolbarItem(url: data.url, type: data.type)
|
||||||
|
|
Loading…
Reference in a new issue