Fix updating watch history

This commit is contained in:
Arkadiusz Fal
2022-12-15 22:39:42 +01:00
parent 12005e63e1
commit 404e2e6768
3 changed files with 72 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ extension Watch {
var progress: Double {
guard videoDuration.isFinite, !videoDuration.isZero else {
return 0
return 100
}
let progress = (stoppedAt / videoDuration) * 100