mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 22:13:41 +00:00
Fix #194
This commit is contained in:
parent
b2fa5c2620
commit
5439e53639
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user