Fix player controls progress bar warning

This commit is contained in:
Arkadiusz Fal
2022-01-06 17:47:07 +01:00
parent 792db567ed
commit f29dc792c2
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ struct PlayerControlsView<Content: View>: View {
}
private var progressViewTotal: Double {
model.playerItemDuration?.seconds ?? model.currentVideo?.length ?? 100
model.videoDuration ?? 100
}
}