1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 22:30: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.setString(url.absoluteString, forType: .string)
#else
player.pause()
shareURL = url
presentingShareSheet = true
#endif