From 6617ad5fc60e07d322ad4742a0ed5c23bb2ec79f Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 18 May 2023 17:49:01 +0200 Subject: [PATCH] Fix player width on macOS --- Shared/Player/VideoPlayerView.swift | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index 2896ad55..419c8d38 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -89,14 +89,6 @@ struct VideoPlayerView: View { .onChange(of: playerSidebar) { _ in updateSidebarQueue() } - #if os(macOS) - .background( - EmptyView().sheet(isPresented: $navigation.presentingChannelSheet) { - ChannelVideosView(channel: navigation.channelPresentedInSheet, showCloseButton: true, inNavigationView: false) - .frame(minWidth: 1000, minHeight: 700) - } - ) - #endif } var videoPlayer: some View { @@ -189,7 +181,7 @@ struct VideoPlayerView: View { .persistentSystemOverlays(!fullScreenPlayer) #endif #if os(macOS) - .frame(minWidth: 1000, minHeight: 700) + .frame(minWidth: 1100, minHeight: 700) #endif }