From e97daa19446cf4f4c9f2bbaaf0c80c97019cb63a Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 2 Dec 2021 21:35:42 +0100 Subject: [PATCH] Minor UI fixes --- Shared/Navigation/AppTabNavigation.swift | 2 +- Shared/Player/VideoPlayerView.swift | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Shared/Navigation/AppTabNavigation.swift b/Shared/Navigation/AppTabNavigation.swift index 79cd23dd..4aaae676 100644 --- a/Shared/Navigation/AppTabNavigation.swift +++ b/Shared/Navigation/AppTabNavigation.swift @@ -20,7 +20,7 @@ struct AppTabNavigation: View { subscriptionsNavigationView } - if visibleSections.contains(.popular), accounts.app.supportsPopular { + if visibleSections.contains(.popular), accounts.app.supportsPopular, visibleSections.count < 5 { popularNavigationView } diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index 251e639b..ba6e9a27 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -105,8 +105,9 @@ struct VideoPlayerView: View { } #endif } + .background(colorScheme == .dark ? Color.black : Color.white) #if os(macOS) - .frame(minWidth: 650) + .frame(minWidth: 650) #endif #if os(iOS) if sidebarQueue {