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:
parent
e91c7fb2d5
commit
89ce589950
@ -81,6 +81,7 @@ struct ShareButton: View {
|
|||||||
NSPasteboard.general.clearContents()
|
NSPasteboard.general.clearContents()
|
||||||
NSPasteboard.general.setString(url.absoluteString, forType: .string)
|
NSPasteboard.general.setString(url.absoluteString, forType: .string)
|
||||||
#else
|
#else
|
||||||
|
player.pause()
|
||||||
shareURL = url
|
shareURL = url
|
||||||
presentingShareSheet = true
|
presentingShareSheet = true
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user