Fix crash on share link

This commit is contained in:
Arkadiusz Fal 2022-06-16 19:43:56 +02:00
parent 0c6ddc3dae
commit 80659713f6

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