This commit is contained in:
Arkadiusz Fal 2022-06-30 00:49:35 +02:00
parent b2fa5c2620
commit 5439e53639

View File

@ -69,7 +69,7 @@ struct ShareButton: View {
}
private var contentItemIsPlayerCurrentVideo: Bool {
contentItem.contentType == .video && contentItem.video.videoID == player.currentVideo?.id
contentItem.contentType == .video && contentItem.video?.videoID == player.currentVideo?.videoID
}
private func shareAction(_ url: URL) {