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)
}
.contextMenu {
Button(action: markAsWatched) {
Label("Mark as Watched", systemImage: "checkmark.circle")
if currentProgress <= 0.9 {
Button(action: markAsWatched) {
Label("Mark as Watched", systemImage: "checkmark.circle")
}
}
Button(action: resetProgress) {
Label("Reset Progress", systemImage: "arrow.counterclockwise")
if currentProgress != 0 {
Button(action: resetProgress) {
Label("Reset Progress", systemImage: "arrow.counterclockwise")
}
}
}
.onAppear {