1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 13:50:32 +05:30

Fix property access

This commit is contained in:
Arkadiusz Fal 2023-05-25 19:03:59 +02:00
parent 56993de1c2
commit af632d7943

View File

@ -69,7 +69,7 @@ extension PlayerModel {
let watch: Watch! let watch: Watch!
let duration = activeBackend == .mpv ? self.playerTime.duration.seconds : avPlayerBackend.playerItemDuration?.seconds ?? 0 let duration = self.activeBackend == .mpv ? self.playerTime.duration.seconds : self.avPlayerBackend.playerItemDuration?.seconds ?? 0
if results?.isEmpty ?? true { if results?.isEmpty ?? true {
watch = Watch(context: self.backgroundContext) watch = Watch(context: self.backgroundContext)