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

@@ -612,7 +612,7 @@ final class AVPlayerBackend: PlayerBackend {
}
self.timeObserverThrottle.execute {
self.model.updateWatch()
self.model.updateWatch(time: self.currentTime)
}
}
}
@@ -656,7 +656,7 @@ final class AVPlayerBackend: PlayerBackend {
#endif
self.timeObserverThrottle.execute {
self.model.updateWatch()
self.model.updateWatch(time: self.currentTime)
}
}
}

View File

@@ -425,7 +425,7 @@ final class MPVBackend: PlayerBackend {
}
timeObserverThrottle.execute {
self.model.updateWatch()
self.model.updateWatch(time: self.currentTime)
}
}