mirror of
https://github.com/yattee/yattee.git
synced 2024-12-14 14:20:32 +05:30
Fix crash on share link
This commit is contained in:
parent
e91c7fb2d5
commit
89ce589950
@ -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