From 89ce5899501de82c83c55144ecbe990c35a7e3de Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 16 Jun 2022 19:43:56 +0200 Subject: [PATCH] Fix crash on share link --- Shared/Views/ShareButton.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Shared/Views/ShareButton.swift b/Shared/Views/ShareButton.swift index 275a3f68..2bd0bc1e 100644 --- a/Shared/Views/ShareButton.swift +++ b/Shared/Views/ShareButton.swift @@ -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