This commit is contained in:
cranci1 2025-02-02 13:38:39 +01:00
parent 7b2da2ea74
commit 56706ecc10

View file

@ -74,12 +74,16 @@ struct EpisodeCell: View {
.frame(width: 40, height: 40) .frame(width: 40, height: 40)
} }
.contextMenu { .contextMenu {
Button(action: markAsWatched) { if currentProgress <= 0.9 {
Label("Mark as Watched", systemImage: "checkmark.circle") Button(action: markAsWatched) {
Label("Mark as Watched", systemImage: "checkmark.circle")
}
} }
Button(action: resetProgress) { if currentProgress != 0 {
Label("Reset Progress", systemImage: "arrow.counterclockwise") Button(action: resetProgress) {
Label("Reset Progress", systemImage: "arrow.counterclockwise")
}
} }
} }
.onAppear { .onAppear {