mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-22 13:03:58 +01:00
Fix MediaUI close button on Catalyst
This commit is contained in:
parent
23960d6d0f
commit
009150bc3e
@ -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 New Issue
Block a user