From e41644974c66e0f632dcb41371c9df957abbc0b6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 11 Jul 2022 19:52:55 +0200 Subject: [PATCH] Fix player sidebar background --- Shared/Player/VideoPlayerView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index f1c3e0e8..3f7eddce 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -263,11 +263,13 @@ struct VideoPlayerView: View { PlayerQueueView(sidebarQueue: true, fullScreen: $fullScreenDetails) .frame(maxWidth: 350) .transition(.move(edge: .trailing)) + .background(colorScheme == .dark ? Color.black : Color.white) } #elseif os(macOS) if Defaults[.playerSidebar] != .never { PlayerQueueView(sidebarQueue: true, fullScreen: $fullScreenDetails) .frame(minWidth: 300) + .background(colorScheme == .dark ? Color.black : Color.white) } #endif }