mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Update watch time on close item
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -425,7 +425,7 @@ final class MPVBackend: PlayerBackend {
|
||||
}
|
||||
|
||||
timeObserverThrottle.execute {
|
||||
self.model.updateWatch()
|
||||
self.model.updateWatch(time: self.currentTime)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user