1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-15 06:40:32 +05:30

Fix crash on share link

This commit is contained in:
Arkadiusz Fal 2022-06-16 19:43:56 +02:00
parent e91c7fb2d5
commit 89ce589950

View File

@ -81,6 +81,7 @@ struct ShareButton: View {
NSPasteboard.general.clearContents() NSPasteboard.general.clearContents()
NSPasteboard.general.setString(url.absoluteString, forType: .string) NSPasteboard.general.setString(url.absoluteString, forType: .string)
#else #else
player.pause()
shareURL = url shareURL = url
presentingShareSheet = true presentingShareSheet = true
#endif #endif