mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +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