mirror of
https://github.com/yattee/yattee.git
synced 2025-01-10 19:40:33 +05:30
Minor fixes
This commit is contained in:
parent
1217acf264
commit
6173f4610b
@ -267,6 +267,7 @@ final class MPVBackend: PlayerBackend {
|
|||||||
|
|
||||||
case MPV_EVENT_FILE_LOADED:
|
case MPV_EVENT_FILE_LOADED:
|
||||||
onFileLoaded?()
|
onFileLoaded?()
|
||||||
|
startClientUpdates()
|
||||||
onFileLoaded = nil
|
onFileLoaded = nil
|
||||||
|
|
||||||
case MPV_EVENT_UNPAUSE:
|
case MPV_EVENT_UNPAUSE:
|
||||||
|
@ -97,13 +97,9 @@ struct VideoDetails: View {
|
|||||||
|
|
||||||
switch currentPage {
|
switch currentPage {
|
||||||
case .info:
|
case .info:
|
||||||
if player.isLoadingVideo {
|
|
||||||
PlaceholderProgressView()
|
|
||||||
} else {
|
|
||||||
ScrollView(.vertical, showsIndicators: false) {
|
ScrollView(.vertical, showsIndicators: false) {
|
||||||
detailsPage
|
detailsPage
|
||||||
}
|
}
|
||||||
}
|
|
||||||
case .queue:
|
case .queue:
|
||||||
PlayerQueueView(sidebarQueue: $sidebarQueue, fullScreen: $fullScreen)
|
PlayerQueueView(sidebarQueue: $sidebarQueue, fullScreen: $fullScreen)
|
||||||
.edgesIgnoringSafeArea(.horizontal)
|
.edgesIgnoringSafeArea(.horizontal)
|
||||||
|
Loading…
Reference in New Issue
Block a user