Minor fixes

This commit is contained in:
Arkadiusz Fal 2022-03-20 00:05:09 +01:00
parent 2ae164e120
commit dcfb86240b
3 changed files with 6 additions and 9 deletions

View File

@ -267,6 +267,7 @@ final class MPVBackend: PlayerBackend {
case MPV_EVENT_FILE_LOADED:
onFileLoaded?()
startClientUpdates()
onFileLoaded = nil
case MPV_EVENT_UNPAUSE:

View File

@ -97,13 +97,9 @@ struct VideoDetails: View {
switch currentPage {
case .info:
if player.isLoadingVideo {
PlaceholderProgressView()
} else {
ScrollView(.vertical, showsIndicators: false) {
detailsPage
}
}
case .queue:
PlayerQueueView(sidebarQueue: $sidebarQueue, fullScreen: $fullScreen)
.edgesIgnoringSafeArea(.horizontal)