mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 04:04:07 +00:00
Fix player controls progress bar warning
This commit is contained in:
@@ -132,7 +132,7 @@ struct PlayerControlsView<Content: View>: View {
|
||||
}
|
||||
|
||||
private var progressViewTotal: Double {
|
||||
model.playerItemDuration?.seconds ?? model.currentVideo?.length ?? 100
|
||||
model.videoDuration ?? 100
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user