Update watch time on close item

This commit is contained in:
Arkadiusz Fal
2023-06-07 22:25:10 +02:00
parent 0328656a44
commit 6f91eedf4c
5 changed files with 9 additions and 8 deletions

View File

@@ -257,7 +257,7 @@ extension PlayerModel {
if let video = currentVideo, !historyVideos.contains(where: { $0 == video }) {
historyVideos.append(video)
}
updateWatch(finished: finished)
updateWatch(finished: finished, time: backend.currentTime)
}
if let video = currentItem.video,