mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix crash on share link
This commit is contained in:
parent
0c6ddc3dae
commit
80659713f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user