From ae144ea82fe9f0dced2585a840056e24f79254f6 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 25 May 2023 14:53:33 +0200 Subject: [PATCH] Minor player fix --- Shared/Player/VideoPlayerView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index c125761a..2c77dfac 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -316,6 +316,8 @@ struct VideoPlayerView: View { } .id(player.currentVideo?.cacheKey) .transition(.opacity) + } else { + VStack {} } } #endif @@ -392,6 +394,8 @@ struct VideoPlayerView: View { .background(colorScheme == .dark ? Color.black : Color.white) } #endif + } else { + VStack {} } } .onChange(of: fullScreenPlayer) { newValue in