Fix using Watch history in player queue

This commit is contained in:
Arkadiusz Fal
2022-04-17 11:33:49 +02:00
parent f32247d125
commit 6196569f46
5 changed files with 41 additions and 14 deletions

View File

@@ -201,7 +201,7 @@ final class PlayerModel: ObservableObject {
backend.pause()
}
func play(_ video: Video, at time: TimeInterval? = nil, inNavigationView: Bool = false) {
func play(_ video: Video, at time: CMTime? = nil, inNavigationView: Bool = false) {
playNow(video, at: time)
guard !playingInPictureInPicture else {