1
0
mirror of https://github.com/yattee/yattee.git synced 2025-04-27 23:40:35 +05:30
This commit is contained in:
Arkadiusz Fal 2022-06-30 00:49:35 +02:00
parent 8358dd50aa
commit 25ef0a4383

View File

@ -69,7 +69,7 @@ struct ShareButton: View {
} }
private var contentItemIsPlayerCurrentVideo: Bool { 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) { private func shareAction(_ url: URL) {