diff --git a/Apple TV/PlaylistsView.swift b/Apple TV/PlaylistsView.swift index 15bc00e8..cc2b49c0 100644 --- a/Apple TV/PlaylistsView.swift +++ b/Apple TV/PlaylistsView.swift @@ -16,22 +16,14 @@ struct PlaylistsView: View { var body: some View { Section { - VStack(alignment: .leading, spacing: 2) { - HStack(alignment: .top) { + VStack(alignment: .center, spacing: 2) { + selectPlaylistButton + .scaleEffect(0.85) + + if currentPlaylist != nil { + VideosView(videos: currentPlaylist!.videos) + } else { Spacer() - - selectPlaylistButton - - Spacer() - } - .padding(.bottom, 5) - - Spacer() - - VStack { - if currentPlaylist != nil { - VideosView(videos: currentPlaylist!.videos) - } } } } diff --git a/Apple TV/TrendingView.swift b/Apple TV/TrendingView.swift index 206092a9..7bc95a1e 100644 --- a/Apple TV/TrendingView.swift +++ b/Apple TV/TrendingView.swift @@ -18,15 +18,11 @@ struct TrendingView: View { var body: some View { Section { - VStack(alignment: .leading, spacing: 2) { - HStack(alignment: .top) { - Spacer() - + VStack(alignment: .center, spacing: 2) { + HStack { categoryButton countryFlag countryButton - - Spacer() } .scaleEffect(0.85) diff --git a/Apple TV/VideosView.swift b/Apple TV/VideosView.swift index ed2c061f..dd996b15 100644 --- a/Apple TV/VideosView.swift +++ b/Apple TV/VideosView.swift @@ -3,12 +3,12 @@ import SwiftUI struct VideosView: View { @State private var profile = Profile() - + @Default(.layout) var layout @Default(.tabSelection) var tabSelection var videos: [Video] - + var body: some View { Group { if layout == .cells {