From ebbc4876e2e3067b3b481eaf79c4ea19ea880ded Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 3 Aug 2021 00:43:47 +0200 Subject: [PATCH] Minor layout fixes --- Shared/ContentView.swift | 2 +- Shared/VideosView.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Shared/ContentView.swift b/Shared/ContentView.swift index bf32c52c..a4cf0f36 100644 --- a/Shared/ContentView.swift +++ b/Shared/ContentView.swift @@ -27,7 +27,7 @@ struct ContentView: View { if let video = navigationState.video { VideoPlayerView(video) #if !os(iOS) - .frame(minWidth: 500, minHeight: 300) + .frame(minWidth: 590, minHeight: 500) .onExitCommand { navigationState.showingVideo = false } diff --git a/Shared/VideosView.swift b/Shared/VideosView.swift index a2e99164..53ea90a0 100644 --- a/Shared/VideosView.swift +++ b/Shared/VideosView.swift @@ -26,6 +26,7 @@ struct VideosView: View { } #if os(macOS) .background() + .frame(minWidth: 360) #endif } }