mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Minor layout fixes
This commit is contained in:
parent
4a733f5a30
commit
e93b4911ca
@ -16,22 +16,14 @@ struct PlaylistsView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
Section {
|
Section {
|
||||||
VStack(alignment: .leading, spacing: 2) {
|
VStack(alignment: .center, spacing: 2) {
|
||||||
HStack(alignment: .top) {
|
selectPlaylistButton
|
||||||
|
.scaleEffect(0.85)
|
||||||
|
|
||||||
|
if currentPlaylist != nil {
|
||||||
|
VideosView(videos: currentPlaylist!.videos)
|
||||||
|
} else {
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
selectPlaylistButton
|
|
||||||
|
|
||||||
Spacer()
|
|
||||||
}
|
|
||||||
.padding(.bottom, 5)
|
|
||||||
|
|
||||||
Spacer()
|
|
||||||
|
|
||||||
VStack {
|
|
||||||
if currentPlaylist != nil {
|
|
||||||
VideosView(videos: currentPlaylist!.videos)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,15 +18,11 @@ struct TrendingView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
Section {
|
Section {
|
||||||
VStack(alignment: .leading, spacing: 2) {
|
VStack(alignment: .center, spacing: 2) {
|
||||||
HStack(alignment: .top) {
|
HStack {
|
||||||
Spacer()
|
|
||||||
|
|
||||||
categoryButton
|
categoryButton
|
||||||
countryFlag
|
countryFlag
|
||||||
countryButton
|
countryButton
|
||||||
|
|
||||||
Spacer()
|
|
||||||
}
|
}
|
||||||
.scaleEffect(0.85)
|
.scaleEffect(0.85)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user