diff --git a/Shared/Views/ShareButton.swift b/Shared/Views/ShareButton.swift index 3f6f2f82..36dfcb50 100644 --- a/Shared/Views/ShareButton.swift +++ b/Shared/Views/ShareButton.swift @@ -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) {