Fix toolbar tabs

This commit is contained in:
Arkadiusz Fal
2022-11-18 22:22:57 +01:00
parent c31a5ee2e0
commit 414b6210c0
5 changed files with 29 additions and 14 deletions

View File

@@ -4,8 +4,10 @@ import SwiftUI
struct VideoDetailsOverlay: View {
@EnvironmentObject<PlayerControlsModel> private var controls
@State private var detailsPage = VideoDetails.DetailsPage.queue
var body: some View {
VideoDetails(sidebarQueue: .constant(false), fullScreen: fullScreenBinding)
VideoDetails(page: $detailsPage, sidebarQueue: .constant(false), fullScreen: fullScreenBinding)
.clipShape(RoundedRectangle(cornerRadius: 4))
}