Improve placeholders

This commit is contained in:
Arkadiusz Fal
2022-03-27 20:27:26 +02:00
parent 8770bfb56d
commit 1c520831d1
3 changed files with 16 additions and 3 deletions

View File

@@ -62,6 +62,10 @@ struct VideoCell: View {
}
private func playAction() {
guard video.videoID != Video.fixtureID else {
return
}
if watchingNow {
if !player.playingInPictureInPicture {
player.show()

View File

@@ -33,6 +33,12 @@ struct VideoContextMenuView: View {
}
var body: some View {
if video.videoID != Video.fixtureID {
contextMenu
}
}
@ViewBuilder var contextMenu: some View {
if saveHistory {
Section {
if let watchedAtString = watchedAtString {