mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 02:17:46 +00:00
Add vertical space between Home section header and rows on tvOS
This commit is contained in:
@@ -218,7 +218,11 @@ struct HomeView: View {
|
|||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
.padding(.horizontal, listStyle == .inset ? 32 : 16)
|
.padding(.horizontal, listStyle == .inset ? 32 : 16)
|
||||||
.padding(.top, 16)
|
.padding(.top, 16)
|
||||||
|
#if os(tvOS)
|
||||||
|
.padding(.bottom, 24)
|
||||||
|
#else
|
||||||
.padding(.bottom, 8)
|
.padding(.bottom, 8)
|
||||||
|
#endif
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user