From f490102c3199470af5527c6353ddc0e6209904ea Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sun, 26 Jun 2022 23:37:27 +0200 Subject: [PATCH] Fix browser toolbar layout --- Shared/Navigation/AppSidebarNavigation.swift | 1 - Shared/Views/BrowserPlayerControls.swift | 1 + Shared/Views/SignInRequiredView.swift | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Shared/Navigation/AppSidebarNavigation.swift b/Shared/Navigation/AppSidebarNavigation.swift index ce8ddee2..03fbb4fb 100644 --- a/Shared/Navigation/AppSidebarNavigation.swift +++ b/Shared/Navigation/AppSidebarNavigation.swift @@ -58,7 +58,6 @@ struct AppSidebarNavigation: View { .foregroundColor(.accentColor) Spacer() } - .frame(maxHeight: .infinity) } } } diff --git a/Shared/Views/BrowserPlayerControls.swift b/Shared/Views/BrowserPlayerControls.swift index 83227c5f..fc61455c 100644 --- a/Shared/Views/BrowserPlayerControls.swift +++ b/Shared/Views/BrowserPlayerControls.swift @@ -36,6 +36,7 @@ struct BrowserPlayerControls: View { return ZStack(alignment: .bottomLeading) { content + .frame(maxHeight: .infinity) #if !os(tvOS) VStack(spacing: 0) { diff --git a/Shared/Views/SignInRequiredView.swift b/Shared/Views/SignInRequiredView.swift index 3ce36769..6b414b89 100644 --- a/Shared/Views/SignInRequiredView.swift +++ b/Shared/Views/SignInRequiredView.swift @@ -54,7 +54,7 @@ struct SignInRequiredView: View { OpenSettingsButton() #endif } - .frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity, alignment: .center) + .frame(minWidth: 0, maxWidth: .infinity, alignment: .center) } }