mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 08:32:00 +00:00
fxied
This commit is contained in:
parent
7b2da2ea74
commit
56706ecc10
1 changed files with 8 additions and 4 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue